Question: need answer asap and use c++ language QUESTION 3 Write a complete program to display a bus ticket information for a customer based on the

need answer asap and use c++ language need answer asap and use c++ language QUESTION 3 Write a complete

QUESTION 3 Write a complete program to display a bus ticket information for a customer based on the table given below. Ask the customer to enter the destination and the number of passengers. The program will calculate and display the destination and total price for each customer. The program will only stop if the user enters 'N'. When the program stops, it will display the total number of customers who have entered the data. Destination Price Hak Cipta Universiti Teknologi MARA CONFIDENTIAL CS/FINALTEST/FEB2021/CSC415 CONFIDENTIAL Johor 89.00 Selangor 55.50 Sample of the output is as follows: Enter destination: Johor Enter number of passengers: 2 Destination = Johor Total Price = RM178 Enter Y to continue or N to stop: Y Enter destination: Selangor Enter number of passengers: 2 Destination - Selangor Total Price = RM111 Enter Y to continue or N to stop: N THE TOTAL NUMBER OF CUSTOMERS IS = 2 (10 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!