Question: Please do this question using visual studio . . A movie theater keeps only a percentage of the revenue earned from ticket sales. The remainder

Please do this question using visual studio Please do this question using visual studio . . A movie theaterkeeps only a percentage of the revenue earned from ticket sales. Theremainder goes to the movie company. Create an application that calculates and

. . A movie theater keeps only a percentage of the revenue earned from ticket sales. The remainder goes to the movie company. Create an application that calculates and displays the following figures for one night's box office business: Gross revenue for adult tickets sold. This is the amount of money taken in for all adult tickets sold Net revenue for adult tickets sold. This is the amount of money from adult ticket sales left over after the payment to the movie company has been deducted. Gross revenue for child tickets sold. This is the amount of money taken in for all child tickets sold. Net revenue for child tickets sold. This is the amount of money from child ticket sales left over after the payment to the movie company has been deducted. Total gross revenue. This is the sum of gross revenue for adult and child tickets sold. Total net revenue. This is the sum of net revenue for adult and child tickets sold. . . Assume the theater keeps 20% of its box office receipts. Use the following test data to determine if the application is calculating properly: Ticket Sales Revenue Price per Adult Ticket: $6.00 Gross Adult Ticket Sales: $720.00 Adult Tickets Sold: 120 Price per Child Ticket: $4.00 Gross Child Ticket Sales: $288.00 Child Tickets Sold: 72 Total Gross Revenue: $1,008.00 Net Adult Ticket Sales: $144.00 Net Child Ticket Sales: $57.60 Total Net Revenue: $201.60 . . . . . . Assignment requirements: A comment header Comments throughout the code Declare all variables and constants, assigning starting values as needed Rename the Module to something more meaningful than Module1 Ask the user to input the number of tickets sold Catch all errors and provide an appropriate message . Do not attempt to make any calculations if the input values trigger an error Make sure the calculations are correct Display the following Gross Adult Revenue Gross Child Revenue Net Adult Revenue Net Child Revenue Total Gross Revenue o Total Net Revenue Format the results as currency Write the code neatly Display the results neatly Remove any unneeded code Turn in a hard copy of your code O 0 O O O . . . . Sample output: Enter the number of adult tickets sold: 12 Enter the number of adult tickets sold: q Please enter a valid number for the tickets. Enter the number of adult tickets sold: 120 Enter the number of adult tickets sold: 72 The amount of gross adult revenue: $720.00 The amount of net adult revenue: $144.00 The amount of gross child revenue: $288.00 The amount of net child revenue: $57.60 The total of the gross revenue: $1,008.00 The total of the net revenue: $201.60 5 10 Homework 1 - Theatre Revenue Have you made comments? Header (5) In-code (10) Did you use variables instead of real numbers? Yes (15) Did you rename the Module? Yes(5) Does the user provide input? Yes(5) Are errors handled? 15 5 5 Errors max 4 @ 10 (40) 40 15 5 5 5 5 5 5 Are the calculations correct? Yes (15) Is the following information displayed? Gross Adult Revenue (5) Gross Child Revenue (5) Net Adult Revenue 5) Net Adult Revenue 5) Total Gross Revenue (5) Total Net Revenue (5) FORMATTING Are the amounts as currency? Yes(5) Is the code neatly written? Yes (5) Are the results displayed neatly? No (5) Is all unneeded code removed? Yes (5) OTHER Did you turn in a hard copy? Yes (3) Anything else not in the previous sections Miscellaneous (15) 5 5 5 5 3 15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!