Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(selection == 3 && hasProcedure)//uses ProcedureInfo.DAT file and runs AppointmentScheduling
- {
- File inFile = new File("ProcedureInfo.dat"); //may throw FileNotFoundException
- AppointmentScheduler bookAppt = new AppointmentScheduler(inFile.getName());
- isAnalyzed = false; //resets files if user wants to run the program again.
- hasProcedure = false;
- System.out.print(bookAppt + "\n" + LIST);//prints final report and asks user to make another selection
- selection = Integer.parseInt(in.next());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement