0
Scanner class programs
a program to print two no's
1 Answer
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);
}
Hot today
What is the problem 🤨🧐??
2 Votes
Generador de divicion python.
1 Votes
Broken Image in Sololearn App
0 Votes