Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Scanner s = new Scanner(System.in); String str = s.next(); int a = s.nextInt(); System.out.print(str + " " + a);

Scanner s = new Scanner(System.in);
String str = s.next();
int a = s.nextInt();
System.out.print(str + " " + a);
 
PREVIOUS NEXT
Tagged: #Scanner #String #str #int
ADD COMMENT
Topic
Name
6+1 =