Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println("------/n");
- File file = new File("exam2data.txt");
- Scanner infile = new Scanner(file);
- Scanner vari = new Scanner(System.in);
- String d = vari.nextLine();
- int screen=vari.nextInt();
- int i=0;
- while (infile.hasNext()) {
- tvExam[i];
- d=vari.nextLine();
- screen=vari.nextInt();
- i++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement