Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 format

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

What strategy for LMD is needed during a recession?

Answered: 1 week ago