Ask for the user's mobile phone number (10 digits, starting with 0)
and name. When a user enters a single 0 for the phone number, you have reached the end of the day.
For each user, repeatedly ask what features she wants in her mobile phone package. Available features
include: A. unlimited voice calls (200 baht/month); B. 100GB mobile data (100 baht/month); C.
unlimited Facebook (150 baht/month); D. unlimited music downloads (180 baht/month); E.
international roaming (140 baht/month). Each feature, except for mobile data, can only be selected
once by a particular user. If the user chooses any already selected option, give an error message. If the
user selects the mobile data option more than once, however, this adds more data capacity. (In other
words, if the user selects this option three times, she wants 300 GB data and will pay 300 baht for
this.) If the total price of the user's selected features is more than 600 baht, she gets a 5% discount on
the entire order. If the total is more than 1000 baht she gets a 10% discount. Keep asking for features
until the user enters “NONE” for the desired feature. Then print a receipt showing the user's name and
phone number plus a list of all features selected with their respective prices, the total monthly cost
before any discount and the total after any discount. Also print the total amount of mobile data
capacity (in GB) purchased (could be 0). At the end of the day print the number of customers served,
the number of customers who chose each feature, and the grand total amount of money expected.