Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct
- {
- char* lastName; //Perry
- char* firstName; // Keith
- int phoneNumber; // read as (408)123-4567, store as 4081234567, must contain area code.
- int date; // date of reservation, read as 11/20/2010 store as 11202010, no yearly data is used other than display!!!!!
- int numOfSeats; // number of seats for reservation
- int time; // 5:00pm stored as 500, 5:15pm stored as 515
- int employee; // 4 digit employee access code
- } RSVN;
- Pham, Charles, (408)220-5488, 12/03/2011, 6, 500, 1234
- phone number must be in format (408)123-4567
- date must be in format mm/dd/yyyy,
- single month should be added as 0m (i.e. 05/25/2010)
- single day should be added as 0d (i.e. 10/05/2010)
- year must be between 1900 and 3000
- EECodes[0] = 1234;
- EECodes[1] = 9242;
- EECodes[2] = 7632;
- EECodes[3] = 3503;
- EECodes[4] = 6243;
- EECodes[5] = 8623;
- EECodes[6] = 4034;
- EECodes[7] = 5237;
- EECodes[8] = 2685;
- EECodes[9] = 4440;
Add Comment
Please, Sign In to add comment