#include <iostream>
#include <iomanip>
using namespace std;
int main();
{
cout << "***************************************...
cout << "** Revenue for Bayou Broadway Theater **\n";
cout << "***************************************...
const double balcony = 59.95;
const double mezzanine = 99.95;
const double orchestra = 139.95;
int balconyTickets, mezzanineTickets, orchestraTickets;
double balconyRevenue, mezzanineRevenue, orchestraRevenue, totalRevenue;
// Calculates the number of balcony tickets sold.
cout << "Enter the number of tickets sold for balcony --> ";
cin >> balconyTickets;
// Calculates the number of mezzanine tickets sold.
cout << "Enter the number of tickets sold for mezzanine --> ";
cin >> mezzanineTickets;
// Calculates the number of orchestra tickets sold.
cout <<"Enter the number of tickets sold for orchestra --> ";
cin >> orchestraTickets;
// Calculates the revenue from balcony tickets sold.
balconyRevenue = balcony * balconyTickets;
// Calculates the revenue from mezzanine tickets sold.
mezzanineRevenue = mezzanine * mezzanineTickets;
// Calculates the revenue from orchestra tickets sold.
orchestraRevenue = orchestra * orchestraTickets;
// Calculates the total revenue of tickets from the three sections.
totalRevenue = balconyRevenue + mezzanineRevenue + orchestraRevenue
skylinedrifter -4 Light Poster
NathanOliver 429 Veteran Poster Featured Poster
skylinedrifter -4 Light Poster
skylinedrifter -4 Light Poster
Moschops 683 Practically a Master Poster Featured Poster
Slavi 94 Master Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.