Can you help me?

A baggage counter charges
$o.50 mimimum fee to deppsit a bag for up to 3 hours and an additional $0.25 for each hour or part thereof over 3 hours.

Assume that no bags are deposited for longer than 6 hours time. Write a program that will calculate and print the baggage counter charges for each of the 5 costumers. Who deposited their bags at this counter.

You should enter the hours deposited for each costumer. Your program should print the consults in a tabular format, and should calculate and print the total of all receipts for a day.

The program should use function. Calculate charges to determine the charhe for each costumer. Output should be in this format:

Costumers hours charges
1 1 0.50
2 1.8 0.50
3 2.0 0.50
4 4.0 0.75
5 6.0 1.25
TOTAL 14.0 3.50

I HOPE YOU CAN HELP ME

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.