Question: The program should prompt (ask) the user if they would like to make additional bookings? Then the program should be able to repeat for more

 The program should prompt (ask) the user if they would like

The program should prompt (ask) the user if they would like to make additional bookings? Then the program should be able to repeat for more than one booking with various flight times. The check for 'y' or 'n' at the "Do you want to continue(Y/N)?" prompt should be case-insensitive. In other words, both 'Y' and 'y' should be accepted or both 'N' and 'n' should be accepted. Travel ticket for FLIGHT Name Hannah George Travel Ticket class First class Seat No A1 Departure Johannesburg Departure Time 7.60 Destination Cape Town Arrival Time 9.30 Amount :R1920.00 Thank you for booking with Cos1511. Your travel agent for queries is Annie Mathew Do you want to make another booking(Y/N)? Welcome to Costsil Flight Booking system Enter full name Deon Pieters The available travel times for flights are: Depart 7.00 Arrive 9 . 30 9.00 11.20 11.60 13.20 13.00 15.20 15.00 17.30 Choose the time by entering the option number from the displayed list

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 Programming Questions!