2.0) { System.out.println("Students in Good Standing"); break; } } for(int i = 0; i < firstName.length; i++) { if(GPA[i] >= 3.5) isDeansList = true; if(GPA[i] > 2.0){ writeToGoodStandingFile = "First Name: " + firstName[i] + "\nLast Name: " + lastName[i] + "\nID #: " + idNumber[i] +"\nGPA: "+ GPA[i] +"\n\n"; toBytes = writeToGoodStandingFile.getBytes(); System.out.println("Student: " + firstName[i] + " " + lastName[i] + "\nID number: " + idNumber[i] + "\nGPA: " + GPA[i] + "\n"); goodStandingList.write(toBytes); counter++; } } probationList.close(); goodStandingList.close(); String[] readFirst = new String[counter]; String[] readLast = new String[counter]; String[] readID = new String[counter]; String[] readGPA = new String[counter]; int counter1 = 0; double GPARead = 0; String first = "", last = "", id = ""; double GPAKeeper = 0.0; if(isDeansList) { System.out.println("---Deans list---"); while((s = goodStandingReader.readLine()) != null) { if(s.startsWith("First Name: ")) { first = s.substring(12); } else if(s.startsWith("Last Name: ")) { last = s.substring(11); } else if(s.startsWith("ID #: ")) { id = s.substring(6); } else if(s.startsWith("GPA: ")) { GPAKeeper = Double.parseDouble(s.substring(5)); if (GPAKeeper >= 3.5) { System.out.println("Student: " + first + " " + last + "\nID #: " + id + "\nGPA: " + GPAKeeper); } } counter++; } } } catch(InputMismatchException e) { System.out.println("Wrong output"); } probationReader.close(); goodStandingReader.close(); deansReader.close();..."/>