Question
Assignment 1 The Caravan Garage Application is a parking garage used at the football stadium. For each owner the following information must be provided. Car
Assignment 1
The Caravan Garage Application is a parking garage used at the football stadium. For each owner the following information must be provided.
- Car owners first name (firstName)
- Car owners last name (lastName)
- Check-in Hour (chkInHr)
- Check-in Minute (chkInMin)
- Check-out Hour (chkOutHr)
- Check-out Minute (chkOutMin)
After all the data described above is entered, the application must display a bill (including all the information above) for the entry, based on the following cost fee structure.
Free for 0 < parkingTime < 10 min.
$5 for 10 < parkingTime < 180 min.
$10/day 180 < parkingTime <= 80 lbs.
In addition to formula above fractional days above 180 min. are rounded up (e.g. 1.5 ==> 2, 0.33 ==> 1)
The application must allow entering information for multiple cars (i.e., loop required; the user is prompted whether to continue; this is used to establish boolean expression for terminating condition). After the loop terminates, the application must display the total number of car entries and the total cost of all the cars.
Need code developed in C++ language. Please provide answer as soon as possible. Thanks!
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