0
Scanner class programs
a program to print two no's
1 Odpowiedź
0
public static void main(String agrs[]){
Scanner s = new Scanner(System.in) //import scanner class to take input from user
int number1= s.nextInt(); //prompt user to input first number
int number2= s.nextInt(); //prompt user to input Second number
System.out.println(number1 +" "+number2);
}