Question: Help me with a JavaScript function to calculate the cost of a hotel stay. Three or fewer nights is $125 per night. Up to seven
Help me with a JavaScript function to calculate the cost of a hotel stay. Three or fewer nights is $125 per night. Up to seven nights is $105 per night. Eight to ten nights is $95 per night and up to fifteen nights is $85 per night. Display the price and the total. Format your output.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
