fork(1) download
  1. import java.util.Scanner;
  2.  
  3. class Try{
  4. public static void main(String[] args){
  5. int a;
  6.  
  7. Scanner in = new Scanner(System.in);
  8.  
  9. System.out.println("wpisz liczbe");
  10. a = in.nextInt();
  11. System.out.println("wpisales "+a);
  12.  
  13. }
  14. }
Success #stdin #stdout 0.14s 321344KB
stdin
123
stdout
wpisz liczbe
wpisales 123