Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. if(selection == 3 && hasProcedure)//uses ProcedureInfo.DAT file and runs AppointmentScheduling
  2. {
  3. File inFile = new File("ProcedureInfo.dat"); //may throw FileNotFoundException
  4. AppointmentScheduler bookAppt = new AppointmentScheduler(inFile.getName());
  5. isAnalyzed = false; //resets files if user wants to run the program again.
  6. hasProcedure = false;
  7. System.out.print(bookAppt + "\n" + LIST);//prints final report and asks user to make another selection
  8. selection = Integer.parseInt(in.next());
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement