Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Programming questions

Question

What is an executive information system (EIS)?

Answered: 1 week ago