Answer to Question #247248 in C++ for cms

Question #247248

a program that asks for the number of tickets sold and computes the total cost of the purchase at Walt Disney World based on the following information:

 

Walt Disney World sells tickets for $109 per day. Discounts are given for purchasing multiple days of tickets at the same time. The discounts are given according to the following table:


1
Expert's answer
2021-10-06T01:26:45-0400
#include<iostream>
using namespace std;
int main()
{
	int n;
	cout<<"Enter the number of tickets sold: ";
	cin>>n;
	double price=109*n;
	cout<<"The total cost of purchase is $"<<price;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS