Answer the question
In order to leave comments, you need to log in
Write a program to display on the screen in one line three any numbers with two spaces between them?
Scanner myScanner = new Scanner(System.in);
int x = myScanner.nextInt();
int y = myScanner.nextInt();
int z = myScanner.nextInt();
Sout(x + " " + y + " " + z);/* can the code be written differently?*/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question