Guest User

Untitled

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