Write a program in python that will ask for the number of


The Melbourne Cricket Ground (MCG) has the following types of tickets and prices
Ticket Type                                       Price

Platinum                                            $210
Gold                                                  $160
Silver                                                $110
Bronze                                               $79
Active Area A                                      $49
Active Area B                                      $49

Write a program in Python that will ask for the number of ticket sold for each type of tickets one by one. That is, it will first ask "Please enter the number of Platinum tickets sold". Once the user enters the number of Platinum tickets sold it will then ask "Please enter the number of Gold tickets sold" and so on. Finally the program will compute and display the sale amount for each ticket type and as well as the total sale amount.

A typical example of the display of your program can be as follows. Your program MUST follow the same display style.
The Melbourne Cricket Ground (MCG)
Enter the number of Platinum tickets sold: 100
Enter the number of Gold tickets sold: 1
Enter the number of Silver tickets sold: 15
Enter the number of Bronze tickets sold: 5
Enter the number of Active A tickets sold: 5
Enter the number of Active B tickets sold: 10
The sale amount of Platinum tickets (in dollars): 21000
The sale amount of Gold tickets (in dollars): 1600
The sale amount of Silver tickets (in dollars): 1650
The sale amount of Bronze tickets (in dollars): 395
The sale amount of Active A tickets (in dollars): 245
The sale amount of Active B tickets (in dollars): 490
The total sale amount: 25380
Good Bye.

Write an algorithm in structured English (pseudocode) that describes the steps required to perform the task specified. Some examples of pseudocode can be found at Select 3 sets of test data that will demonstrate the ‘normal' operation of your program: that is test data that will demonstrate what happens when VALID input is entered. Select another 2 sets of test data that will demonstrate the "abnormal" operation of your program. Set it out in a tabular form: the test data, the reason it was selected, the output expected as a result of using that test data, and finally leave space to record the output actually observed when the test data is used.
Implement your algorithm in Python. Comment your code as necessary to explain it clearly.
Run your program using the test data you have selected and save the output it produces in a text file.

Submit:
1. Your algorithm.
2. The table recording your chosen test data.
3. Source code for your Python implementation.
4. Output listings demonstrating the results of using the test data.
It is important that the output listings are not edited in any way.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a program in python that will ask for the number of
Reference No:- TGS01243967

Expected delivery within 24 Hours