Plan and code a C program utilizing one or more repetition structures to solve the following problem Write a program for Pentagon Parking Lot for all customers that use the lot during the day. The lot...


please do in c++, without use of strings or advanced manipulators


Plan and code a C program utilizing one or more repetition structures to solve the following problem<br>Write a program for Pentagon Parking Lot for all customers that use the lot during the day. The lot opens at 6:00 am and<br>closes at 10:00 pm. Charges for vehicles are based upon the following rates:<br>sinoy z 1S<br>Free<br>Next 3 hours<br>51.00 per hour<br>sunoy tt ON<br>noy ad sOS<br>First hour<br>Next 2 hours<br>Next 13 hours<br>$2.00 per hour<br>$1.00 per hour<br>No Charge<br>Trucks<br>Senior Citizens<br>A Have the user enter a character designation for rate of charge (C, T, S), the starting time and ending time in<br>military time or parking lot use.<br>8. Determine the total number of hours. Any part of an hour is to be counted as a full hour.<br>C. Compute the appropriate charge and print out a ticket for each customer.<br>D. Adequately check entered data for validity. Be sure to check for invalld data and handle it appropriately. Use<br>adequate test data to process all vald data and any possible combination of invalid data.<br>E. Print out the total fees for each type of rate charged during the entire day.<br>sndu<br>Rate designation (C, T, S), starting time, ending time<br>Itemized listing of charges for each vehicle and an itemized summary of all charges for the day. Label all output clearly.<br>Be sure your output file contains user prompts and what was entered by the user in addition to the results of your<br>program processing<br>ndino<br>ung<br>Run with the folowing data<br>Start time<br>ua pu<br>Type<br>C.<br>EZEE<br>SOLE<br>SSS<br>000<br>Turn In<br>ndyno ueoud pue apoo aunos u un L<br>OL4<br>

Extracted text: Plan and code a C program utilizing one or more repetition structures to solve the following problem Write a program for Pentagon Parking Lot for all customers that use the lot during the day. The lot opens at 6:00 am and closes at 10:00 pm. Charges for vehicles are based upon the following rates: sinoy z 1S Free Next 3 hours 51.00 per hour sunoy tt ON noy ad sOS First hour Next 2 hours Next 13 hours $2.00 per hour $1.00 per hour No Charge Trucks Senior Citizens A Have the user enter a character designation for rate of charge (C, T, S), the starting time and ending time in military time or parking lot use. 8. Determine the total number of hours. Any part of an hour is to be counted as a full hour. C. Compute the appropriate charge and print out a ticket for each customer. D. Adequately check entered data for validity. Be sure to check for invalld data and handle it appropriately. Use adequate test data to process all vald data and any possible combination of invalid data. E. Print out the total fees for each type of rate charged during the entire day. sndu Rate designation (C, T, S), starting time, ending time Itemized listing of charges for each vehicle and an itemized summary of all charges for the day. Label all output clearly. Be sure your output file contains user prompts and what was entered by the user in addition to the results of your program processing ndino ung Run with the folowing data Start time ua pu Type C. EZEE SOLE SSS 000 Turn In ndyno ueoud pue apoo aunos u un L OL4
Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here