We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
intt c = scan.nextInt();
//Print int values in single line code
System.out.printf("%d\n%d\n%d\n",a,b,c);
}
Java Stdin and Stdout I
You are viewing a single comment's thread. Return to all comments →
import java.util.*;
public class Solution {
}