Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.43 KB | None | 0 0
  1.         System.out.println("------/n");
  2.         File file = new File("exam2data.txt");
  3.  
  4.         Scanner infile = new Scanner(file);
  5.        
  6.         Scanner vari = new Scanner(System.in);
  7.  
  8.         String d = vari.nextLine();
  9.         int screen=vari.nextInt();
  10.         int i=0;
  11.         while (infile.hasNext()) {
  12.             tvExam[i];
  13.             d=vari.nextLine();
  14.             screen=vari.nextInt();
  15.             i++;
  16.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement