Question: Need the code in C programming language Project 1, Program Design A hardware store rents several types of trucks to help customers transport large items

Need the code in C programming language Need the code in C programming language Project 1, Program Design A

Project 1, Program Design A hardware store rents several types of trucks to help customers transport large items locally. It charges a minimum fee for the first 75 minutes. The store charges an additional fee every 15 minutes in excess of the first 75 minutes. There is a maximum charge for any given 24-hour period. Write a program that calculates and prints the charge for a truck rental. Assume that no truck can be rented longer than 24 hours at a time. The user should enter the truck selection, enter the hours and minutes rented for a customer. The program calculates and prints the charge. Truck 75 minutes (minimum) $15 Rate for every 15 minutes after the first 75 minutes Maximum per day $49 $19 $69 Flatbed pickup truck I (5.5-ft bed length) Flatbed pickup truck II (8-ft bed length) Cargo van Moving box truck $25 $89 $99 An example input/output: Please select from the following menu: 1. Flatbed pickup truck I, 2. Flatbed pickup truck II, 3. Cargo van, 4. Moving box truck Enter truck selection: 1 Enter hours rented: 2 Enter minutes rented: 5 Amount due ($): 31

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!