Hi Guys, I am new to programming at a Local Technikon.I was trying to test my basic programming skills but could not go far. I was attempting the question Bellow. Can you please Help me with coding.
QUESTION:
A guest house charges a N$200.00 minimum fee per room for three days. The guest house charges
an additional N$50 per hour for each day in excess of three days. The maximum charge for any
given week is N$1000.00.Assume that no one is allowed to stay for longer than a week. Write a
program that calculates and prints the charges for each of the 8 customers who rented 8 rooms in the
previous week. You should enter the number of days rented for each customer. Your program
should print the results in a neat tabular format and should calculate and print the total of last
week’s receipts. The program should use the function calculateRental to determine the charge for
each customer.