// // Review for Java // // Goal: read in data (name and score) from a file and // out to the monitor // // import java.util.Scanner; public class ReadData2 { public static void main(String[] args) { Scanner input = new Scanner(System.in); while(input.hasNext()) { String name = input.nextLine(); int data = input.nextInt(); // read data System.out.println(name + " " + data); String dummy = input.nextLine(); } } }