Question: Exercise 4 : Fix the Errors The program below has 3 errors in it . Fix this program so that it runs without errors. When
Exercise : Fix the Errors The program below has errors in it Fix this program so that it runs without errors. When running it will ask the user how many people are going to a theme park and for how many days. The program will then determine the total amount for the trip. There is a discount when the trip is planned over many days. For instance the price for day is
$
per day. For days the price per day is
$
If the user wants to spend days in the park the price is per day. Given the user has people in their party and will be in the park days, the program should print the following: Price per day: $ Total for your trip:
$
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
