Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ Write a C++ program that determines the cost of a seven night trip to Paris, France. The flight cost is 750EU per person (round
c++
Write a C++ program that determines the cost of a seven night trip to Paris, France. The flight cost is 750EU per person (round trip) and the hotel cost is 100EU per person per night. Have the user enter the number of people going (1- 100), check that the number is in the proper 1-100 range then the program should calculate a final cost for the group If the group is over 10 in size but under 50, then they get a 10% overall discount if the group is 50 or over in size, then they get a 20% overall discount. Figure out the cost of the trip: (group size * 750) + (group size" (100 * 7)) minus the discount and output the final result both before and after discount to the screen in a dollars and cents formatStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started