Extra Credit: There will be extra credit points for turning these programs in early. For each program turned in by Thursday 9 pm, you receive 5 extra credit points. For each program turned in by Wednesday 9 pm, you receive 10 extra credit points.
Your class should also contain the following methods:
Your main program should ask the user to enter an appointment as many appointments as they wish. Then, it should give them the choice of adding an appointment, finding an appointment by substring or number, or printing. For example:
> javac Program29 Please enter the beginning time for an appointment (year month day hour min second): 1999 5 10 15 30 0 Please enter the ending time for an appointment (year month day hour min second): 1999 5 10 17 30 0 Please enter a description of the appointment: Final Exam! Do you want to enter another appointment? (y/n) y Please enter the beginning time for an appointment (year month day hour min second): 1999 5 10 4 0 0 Please enter the ending time for an appointment (year month day hour min second): 1999 5 10 15 0 0 Please enter a description of the appointment: Study for exam Do you want to enter another appointment? (y/n) n Choose one of the following options: 1) Add another appointment 2) Find an appointment by substring 3) Find an appointment by appointment number 4) Print all appointments 5) Quit Your choice: 2 Enter the substring: Final The appointment is: Final Exam! Beginning Time: 1999 5 10 15 30 0 Ending Time: 1999 5 10 17 30 0 Choose one of the following options: 1) Add another appointment 2) Find an appointment by substring 3) Find an appointment by appointment number 4) Print all appointments 5) Quit Your choice: 5 Thank you for using the daily appointments program!
You should include comments for each of your functions that can be used by javadoc to generate documentation (see notes from class or the book for more details about using javadoc). This program should be console-based. Submit this as program 29 using the electronic submission. Please call the file (and the class) Program29.
Submit this as program 30 using the electronic submission. Please call the file (and the class) Program30. Include an HTML file in the directory called Program30.html that displays your applet.
Submit this as program 31 using the electronic submission. Please call the file (and the class) Program31.
	Extra Credit: Extra credit will be given if, along
	with the sorted list you also print out the height of
	the binary search tree used.  For example, for 
	dictionary.dat, the resulting binary search
	tree would be:
	 
	
The height of this tree is 5.
Hints:
/usr/local/javas/ccj