Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PART B) Write a C program to add Password entry feature to the above program 1) Password entry a. Request a password, multiple characters followed
PART B) Write a C program to add Password entry feature to the above program 1) Password entry a. Request a password, multiple characters followed by return. b. For every character entered, display * character. c. The correct password is ABC123. d. If the correct password is entered, proceed to Section II. e. If a wrong password is entered, prompt the user with a statement indicating the password is incorrect and prompt the user for a correct password. If the second password is also incorrect, prompt the user that this is the last attempt. If the third password is entered incorrectly, ignore further attempts. 2). Automotive service invoice a. Prompt the user for the customer first name and last name b. Output a menu of automotive services and the corresponding cost of each service. Davy's auto shop services menu 1. Oil change -- $35 2. Tire rotation -- $19 3. Car wash -- $7 4. Car wax -- $12 c. Display the requested services and prompt the user for any possible additional service. You ma prompt with a Y or N. If N is typed, proceed to Section III. Otherwise, display the menu. Note that duplicate service should be rejected. For example, you should not allow for two oi' changes. 3). Output an invoice for the services selected. Output the cost for each service and the total cost. Example: Davy's auto shop invoice Customer Name: John Doe Service Manager: Your Name Service 1: Oil change, $35 Service 2: Tire rotation -- $19 Service 3: Car wax, $12 Total: ---------------> $66
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started