Modify your elective script to produce output resembling that appearing below. The user will be asked to enter registration information and to select an EDP number from a menu. The course name will be printed. It doesn't matter if the user types in the EDP number with upper- or lowercase letters. A message will confirm the user's address and thank him for enrolling.
Output should resemble the following:
REGISTRATION INFORMATION FOR SPRING QUARTER Today's date is Wed Apr 19 17:40:19 PDT 2007 Please enter the following information: Your full name: Fred Z. Stachelin
What is your Social Security Number (xxx–xx–xxxx): 004–34–1234 Your address: Street: 1424 Hobart St. City, State, Zip: Chico, CA 95926
"EDP" NUMBERS AND ELECTIVES: | ______________________________ | 2CPR2B | C Programming | ______________________________ | 1UNX1B | Intro to UNIX | ______________________________ | 4PL400 | Perl Programming | ______________________________ | 3SH414 | Shell Programming | ______________________________ |
What is the EDP number of the course you wish to take? 4pl400
The course you will be taking is "Perl Programming."
Registration confirmation will be sent to your address at 1424 HOBART ST. CHICO, CA 95926
Thank you, Fred, for enrolling.
|