You are viewing a single comment's thread. Return to all comments →
import java.util.Scanner; class Solution { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n1 = sc.nextInt(); int n2 = sc.nextInt(); int n3 = sc.nextInt(); sc.close(); System.out.println(n1); System.out.println(n2); System.out.println(n3); } }
Seems like cookies are disabled on this browser, please enable them to open this website
Java Stdin and Stdout I
You are viewing a single comment's thread. Return to all comments →
For Java15 Platform
I wrote the code from scratch just to get more practice