Question: Vb problem Problem Camper Cabins A state park rents camper cabins to state residents for $65 per day for the first six days and then
Vb problem 
Problem Camper Cabins A state park rents camper cabins to state residents for $65 per day for the first six days and then for $50 per day for any additional days. Non-residents pay $75 per day. Write a program that requests a camper's resident status and the number of days, and then calculates the cost of the rental. See Fig. 5.18. The program should use a function with a Boolean parameter resident and an Integer parameter numDays to calculate the cost. the cost of the rental See Fig 5.18. The program Rental Resident Number of days: Yes No Calculate Cost Cost: $490.00 FIGURE 5.18 Possible outcome of Exercise 28
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
