question archive ABC construction wants to start sending customers gifts for their birthdays
Subject:Computer SciencePrice: Bought3
ABC construction wants to start sending customers gifts for their birthdays. ABC wants to write a program
that allows up to 7 customers to enter their information (full names and birthdays) and also allows the
manager to log in with her ID (ABC 132). If the ID is not accurate, the program should continue prompting
the user for the correct ID. When the manager logs in, she has the option to print to screen a report that
shows all customers with their birthdays. Once the manager makes the selection, the program should
return to the manager menu (NOT the main menu) until the manager indicates to exit to go back to the main
menu.
If no customer information has been entered and the manager attempts to print out information, say Sorry,
no customers have entered any information yet.
If more than 7 customers try to enter information, say Sorry, no more customers.
The program should be able to handle both capital and lowercase inputs (except for the manager password,
which should always be in capital letters).
Say exit to exit the program-do not mention this on the main menu.
Example run:
***
Enter the word "customer" if you are a customer
or your ID if you are the manager.
ABC 132
***
Hello manager. What would you like to do?
Print to screen or exit?
***
Print to screen
***
Sorry, no customers have entered any information yet.
***
Hello manager. What would you like to do?
Print to screen or exit?
***
exit
***
Enter the word "customer" if you are a customer
or your ID if you are the manager.
customer
***
Hello customer. Please enter you name (first and last)
followed by your birthday (MM/DD/YYYY):
***
Hans Klarik 01/13/1985
Thank you Hans!
***
Enter the word "customer" if you are a customer
or your ID if you are the manager.
ABC 132
***
Hello manager. What would you like to do?
Print to screen or exit?
***
print to screen
***
CUSTOMERS
BIRTHDAY: 01/13/1985 NAME: Klarik, Hans
***
Hello manager. What would you like to do?
Print to screen or exit?
***
exit
***
Enter the word "customer" if you are a customer
or your ID if you are the manager.
exit
Bye!