You are viewing a single comment's thread. Return to all comments →
Scanner sc = new Scanner(System.in); String x = sc.nextLine(); String y = sc.nextLine(); String z = sc.nextLine(); System.out.println("1 "+x); System.out.println("2 "+y); System.out.println("3 "+z);
Seems like cookies are disabled on this browser, please enable them to open this website
Java End-of-file
You are viewing a single comment's thread. Return to all comments →
Scanner sc = new Scanner(System.in); String x = sc.nextLine(); String y = sc.nextLine(); String z = sc.nextLine(); System.out.println("1 "+x); System.out.println("2 "+y); System.out.println("3 "+z);