Write a program that will ask a train station manager to enter
the day of the month and number of tickets sold of the four types:
child, student, adult and the pensioner. Please note that student
and pensioner tickets are concession tickets. The program also
should consider the tickets sold only for zone-1. Each day of a
month is a day followed by the month name (ex: 30 January). A user
is expected to enter a number of tickets over 0, for all four
ticket types. The regular price of a zone-1 ticket is $3.60 (with
GST). The concession tickets get a 50% discount. The program should
display the income from each ticket type, the total income and the
total GST. GST is 10% of the ticket price.
Write an algorithm in structured English (pseudocode) that describes the steps required to perform the task specified.
Â 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. 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.
Select another 2 sets of test data that will demonstrate the â€˜abnormalâ€™ operation of your program: that is test data that will demonstrate what happens when INVALID input is entered. Set this out in the same format as for valid data.
Other samples, services and questions:
When you use PaperHelp, you save one valuable — TIME
You can spend it for more important things than paper writing.