Question
1. A public parking company wants you to design a program for the parking charges as follows: 1. Hourly parking charge is $4 per hour
1. A public parking company wants you to design a program for the parking charges as follows:
1. Hourly parking charge is $4 per hour a maximum of $20 per day
2. daily parking $15 per day
3. Long term parking $13 per day
Program should ask the customer the type of parking required, if necessary the number of days staying calculate and print the total charge.
2. A fast food store prices its food as follows:
1. Hamburger price is $ 3.50
2. Cheeseburger price is $ 3.70
3. French Fries price is $ 1.90
4. Soft drink price is $ 1.10
Program should ask the number of each item ordered from the customer, calculate the total charge and print it out
3. A book store has a sale charges its patron as follows:
1. Softcover books cost maximum $20.00
2. Hardcover books cost is $30/ book
Book store gives 10% discount to the senior citizen. program should prompt the user for type of book, whether customer is senior citizen and calculate and print the total charge.
Step by Step Solution
3.42 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
Public Parking company cph 4 cost per hour mpd 20 max cost per day cpd 15 cost per day in daily mode ...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