Destination Adult Price (RM) Children Price (RM)
london 130.00 80.00
china 180.00 150.00
singapore 190.00 85.00
Show a menu for destination selection for customer to key in their name and how many adult and children for their trip to that destination. If customers want first-class tickets, there is an additional RM160.00 flat fee for each ticket (adult and children). get input data from user (Tests for 7 data) to:
a) Calculate and display the total of first class passengers (using function totalFirstClass())
b) Determine and display the favorite destination according to the highest number of passengers (using function destHighestPassenger())
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment