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:
#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;
}
Comments
Leave a comment