In this assignment you are to continue the address book program that we started in class. Your program should automatically load the data file upon loading your form. The data file should be a plain-text file with one entry per line. The number of entries are not specified. Each entry will consist of two Strings. The first String is the name of the contact, and the second is the contact's phone number. All data should be loaded into two separate arrays.
Once loaded, you should allow the user to search all records for a match to a case-insensitive search query. That is to say, the user will enter a search String in a text box on your form, click a 'search' button, and in a picture box, all matching records will display. Below the text box and button should be a set of option buttons allowing the user to specify which fields should be searched. If the user selects name, only records who's name matches the search String should be displayed. The same behavior applies to the telephone field when the user selects the phone option. If the user selects the "both" option, both fields should be searched.
The form has already been created for you and can be found in the in-class examples zip file.
Due by August 24, 2009 - 11:59PM
In this assignment you are to write the following programs:
- Write a program that sorts three integers. The integers are entered using three text boxes and stored in variables num1, num2, and num3, respectively. The program sorts the numbers so that num1 <= num2 <= num3. All three numbers should be displayed in ascending order in a text box.
- Write a program that prompts the user to enter the month and year, and displays the number of days in the month. For example, if the user entered month 2 and year 2000, the program should display that February 2000 has 29 days. Note that the user enters the numeric representation for the month. Use the text box for all input and output.
Due by Friday, June 31, 2009 - 12:00PM
CSNS All files must be submitted to CSNS prior to the due date/time.