The manager of a football stadium wants you to write a program that calculates the total ticket sales after each game. There are four types of tickets—box, sideline, premium, and general admission. Data is read from the keyboard in the following form:
ticketPrice numberOfTicketsSold, that indicates that the box ticket price is ticketPrice and that numberOfTicketsSold tickets were sold at that price.
Sample data are shown below:
250 5750
100 28000
50 35750
25 18750
Output the number of tickets sold and the total sale amount on the screen as shown below:
Number of tickets sold: 88250
Total amount: 6493750
We need at least 10 more requests to produce the answer.
0 / 10 have requested this problem solution
The more requests, the faster the answer.
Please help me develop executable code in C++: //The manager of a football stadium wants you to write a program that calculates the total ticket //sales after each game. There are four types of tickets sold: box, sideline, premium, //and general admission. //After each game, the data is stored in a file in the following form: //ticketPrice numberofTicketsSold //... //Sample data are shown below: //250 5750 //100 28000 // 50 35750 // 25 18750 //The first line indicates that the...
You are working on the OSU audit for the year ended 6/30/2018. You have been assigned to audit football ticket revenue for the home football games. There were six homes games during this fiscal year; one non-conference game and five conference games. One of the conference games was played against OU. The football stadium has 58,000 seats available; allocated as follows: Box 2,000 seats Club Level 6,000 seats All other 50,000 seats Ticket prices for the non-conference game Box $150...
Can anyone help me with this? Stadium Seating There are three seating categories at the Broward College Stadium. For a softball game, student tickets cost $9.00, senior tickets cost $12.00 and general tickets cost $15.00. Write a program that asks how many tickets for each class of seats were sold. Then display the total number of tickets sold, the amount of income generated from each class and the total ticket sales. For the program: Create pseudocode as a .txt file....
Using Java please help me return the total to getTicketData() so it will display in my displayTicketData() function. Everything in my display function is a sent to a display class that works well for strings already. import java.util.Scanner; public class ticketing { //Declaring variables for strings and integers private int ticketNum; //Using the Scanner to scan in data input by user Scanner s = new Scanner(System.in); void getTicketData() { //Methods...
There are three seating categories at a stadium. For a softball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Write a program that asks how many tickets for each class of seats were sold, then displays the amount of income generated from ticket sales. Format your dollar amount in fixed-point notation, with two decimal places of precision, and be sure the decimal point is always displayed. Using the following test data:...
3. A U.S. textbook publisher is introducing a new economics textbook, Managerial Economics It is no Graphing matter, to the domestic market. Each book is produced at a constant marginal cost of S98 per book. Management predicts that annual domestic demand for the book is PD 278-0.30n, where Po price of a book in dollars, and Op denotes the number of hooks (as measured in thousands). a. Assuming no costs beyond the MC of $98 per book, state the profit...
Using Cost-Volume-Profit
analysis, how many tickets must be sold to break even on operating
costs in one game, and one season of the six mentioned home games?
Are there any variable costs associated with this analysis or are
all costs fixed? Use excel to answer and explain all
calculations.
OPERATING REVENUE AND COST GSU charges all students a mandatory student fee for athletics, which allows students to attend all sporting events free of charge. Management estimates an average attendance of...
Amusement Park Programming Project Project Outcomes Use the Java selection constructs (if and if else). Use the Java iteration constructs (while, do, for). Use Boolean variables and expressions to control iterations. Use arrays or ArrayList for storing objects. Proper design techniques. Project Requirements Your job is to implement a simple amusement park information system that keeps track of admission tickets and merchandise in the gift shop. The information system consists of three classes including a class to model tickets, a...
CMSC 256 – Project 5 Programming Assignment 5 Note: When you turn in an assignment to be graded in this class, you are making the claim that you neither gave nor received assistance on the work you turned in (except, of course, assistance from the instructor or teaching assistants). Program: Ticketing System Points: 100 A set of classes is used to handle the different ticket types for a theater event. All tickets have a unique serial number that is assigned...
C programming Construct a console program to simulate Zoo ticketing system. The system is used for dispensing tickets to customers. In order to buy tickets, the customer need to enter the following information: a) Number of ticket they want to buy. Everybody must have a ticket to enter. b) Only up to 5 tickets may be purchased for every transaction or customer. c) Type of ticket either for adult, children (aged 5 12 years old) or toddler (aged 2-5 years...