Hello, I pretty much have my entire assignment finished, however I'm stumped on how to actually solve this one. Can someone please walk me through how to make a working function for what is asked? Thanks
Ex.
Assume that a full hotel room houses 4 people and costs $100 per night. For smaller hotel rooms, there's a per person charge of $30. (Thus, for a family of 10, two full rooms would fit 8 people, costing $200/night and a third room would have 2 people, costing $60/night for a grand total of $260/night for the family.)
Input Specs:
The first two values will be positive integers while the last will be a positive real number less than 20.
How it will run:
How many people are in the family?
5
How many days will your family be on vacation?
3
What is the sales tax percentage in the vacation locale?
6.5
Your family will spend $415.35 for lodging on your vacation.