Java End-of-file

  • + 0 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);