Course Solutions Uncategorized (Solved) : Crunchum Parking Lots Inc Charges Different Rates Depending Type Vehicle C Car T Truck B B Q29606108 . . . .

(Solved) : Crunchum Parking Lots Inc Charges Different Rates Depending Type Vehicle C Car T Truck B B Q29606108 . . . .

 

Crunchum Parking Lots, Inc charges different rates depending onthe type of vehicle (C=Car, T=Truck, B=Bus) and length of timeparked, as follows:

Type

First Rate

Second rate

Car

1.25/hr first 2 hours

1.50/hr after the first 2 hours

Truck

2.75/hr first 2 hours

3.75/hr after the first 2 hours

Bus

9.50/hr for the first hour

6.75/hr after the first hour

Write a program to ask the user for the type of vehicle (C, T orB) and the number of hours parked and then print a parking invoicelike:

Crunchum Parking Lots, Inc.
“We usually find your vehicle!”
=============================
Vehicle Type: Car
Time:                    4 Hours
Amount Due:          $5.50

=============================

All times will be in whole hours, just use anint variable for hours.

I would use a char

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Machine Code Instruction R4 R2 Select One X127f B X16c2 C X5b04 D X98bf E X56e Q37458329 . . . .(Solved) : Machine Code Instruction R4 R2 Select One X127f B X16c2 C X5b04 D X98bf E X56e Q37458329 . . . .

<p><img alt="What is the machine code of the instruction NOT R4, R2? Select one: a. X127F b. x16C2 c. x5B04 d. x98BF e. X56E" src="https://media.cheggcdn.com/media%2F95b%2F95b29358-7a58-48d5-b4de-d45430a04342%2FphpyJRCY2.png" style="height:559px;width:1024px;" aria-describedby="d3f"/></p><p>Please show working as