Question: In C++. Please answer all questions Thank You. ASSIGNMENT #3 1. A parking garage charges a $2.00 minimum fee to park for up to three
ASSIGNMENT #3 1. A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Write a program that calculates and prints the parking charges for each of three customers who parked their cars in this garage yesterday. You should enter the hours parked for each customer. Your program should print the results in a neat tabular format and should calculate and print the total of yesterday's receipts. The program should use the function CalculateCharges to determine the charge for each customer. Your outputs should appear in the following format: Car Hours 1.5 4.0 24.0 29.5 2.00 1 2.50 10.00 14.50 TOTAL 2. Implement the following integer functions: a) Function celsius returns the Celsius equivalent of a Fahrenheit temperature. b) Function fahrenheit returns the Fahrenhecit equivalent of a Celsius temperature. these functions to write a program that prints charts showing the Fahrenheit equivalents e) Use of all Celsius temperatures from 0 to 100 degrees, and the Celsius equivalents of all Fahrenheit temperatures from 32 to 212 degrees. Print the outputs in a neat tabular format that minimizes the number of lines of output while remaining readable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
