Visual Studio C#
Lab 1B: Stadium Seating
(50 Points)
There are three seating categories at an athletic stadium. For a baseball game, Class A seats cost $15
each, Class B seats cost $12 each, and Class C seats cost $9 each. Create an application that allows the
user to enter the number of tickets sold for each class. The application should be able to display the
amount of income generated from each class of ticket sales and the total revenue generated. The
application’s form should resemble the one shown below.
Use the following sets of test data to determine if the application is calculating properly:
Required: This application should use data validation to make sure that the data given is in an
acceptable format. There are several types of invalid data that the code should check for, as the only
valid input would be an integer value for number of tickets sold. If the data is invalid a message box
should appear telling the user what format the data should be in. The application code should also use
C# string format method to make sure that the money is output in the currency format.