Develop a seat reservation and management system for a small airline CUA, this airline has only...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Develop a seat reservation and management system for a small airline CUA, this airline has only one aeroplane and fly from Lahore to Karachi and back from Karachi to Lahore every day. This system should have the following functionalities. 1. The program should display a menu at the start of the program with following options: a. Seat Pattern b. Seat Reservation c. Seat Cancellation d. Available Seats e. Reserved seats f. Search Reservation g. Exit 2. Create a seat pattern for a small aeroplane with seat numberings as follows: 1 A В D 2 A B C D 3А В с D 4 A C D 5 A В C D 6 A B C D A B C D 8 A B C D 9 A B C D 10 A В с D 3. The program should display the seat pattern, with an 'X' marking the seats already assigned. For example, after reservation of seat 1A the display should look like as following: 1 X в с D 2 А B C D 3 A B D 4 A B C D A B D 6 A B D A B C D 8 А В C D 9 A C D 10 A в C D Note: All information has to be stored in files. in Develop a seat reservation and management system for a small airline CUA, this airline has only one aeroplane and fly from Lahore to Karachi and back from Karachi to Lahore every day. This system should have the following functionalities. 1. The program should display a menu at the start of the program with following options: a. Seat Pattern b. Seat Reservation c. Seat Cancellation d. Available Seats e. Reserved seats f. Search Reservation g. Exit 2. Create a seat pattern for a small aeroplane with seat numberings as follows: 1 A В D 2 A B C D 3А В с D 4 A C D 5 A В C D 6 A B C D A B C D 8 A B C D 9 A B C D 10 A В с D 3. The program should display the seat pattern, with an 'X' marking the seats already assigned. For example, after reservation of seat 1A the display should look like as following: 1 X в с D 2 А B C D 3 A B D 4 A B C D A B D 6 A B D A B C D 8 А В C D 9 A C D 10 A в C D Note: All information has to be stored in files. in
Expert Answer:
Answer rating: 100% (QA)
Step 1 the below code is for displaying the available set and reserved is marked by X Step 2 import ... View the full answer
Related Book For
Statistics for Business and Economics
ISBN: 978-0132930192
8th edition
Authors: Paul Newbold, William Carlson, Betty Thorne
Posted Date:
Students also viewed these human resource management questions
-
A small commuter airline flies planes that can seat up to 8 passengers. The airline has determined that the probability that a ticketed passenger will not show up for a flight is 0.2. For each flight...
-
x / 9 1 / 3 = 2 / 9
-
An airline offers two fare classes for coach seats on a particular flight: full-fare class at $440/ticket and economy class at $218/ticket. There are 230 coach seats on the aircraft. Demand for...
-
IfAUB=AUC and An B=An C, then B = C. Statement-2 AU (BOC) = (AUB) n (AUC)
-
Abriel Limited, a public company, has the following accounts in its year- end 20X5 trial balance: a. Dividends payable. b. Compensating cash balance in Abriels bank, being held by the bank as a...
-
Silver plating uses the reaction Ag + (aq) + e Ag(s). How many moles of electrons must pass through an electrolytic cell for silver plating in order to plate 3 moles of Ag? (a) 1 mole e (b) 2 mole e...
-
MINITAB can create the analysis of variance table for Example 1 concerning recycled road materials. The three levels of \(A\) are coded 1,2, and 3, and the two levels of \(B\) are coded 1 and 2. The...
-
During your audit of Carla Pang Inc. you prepared the following bank transfer schedule. Fill out the table below indicating the most likely situation as it relates to cash at year-end. Indicate the...
-
Gable Company uses three activity pools. Each pool has a cost driver. Information for Gable Company follows: Activity Pools Total Cost of Pool Cost Driver Estimated Cost Driver Machining $ 171,100...
-
Select all that apply Actual output is used for variance calculations because Blank______. Multiple select question. budgeted output although useful for planning is outdated for analyzing performance...
-
Suppose that you are interested in buying a bond that pays interest semi-annually. It has an annual coupon of 7% with interest payable on April 15 and October 15. The bond accrued interest is...
-
Discuss why a patients responsibilities are as important as his or her rights.
-
If a nurse disagrees with a physicians written orders, discuss what action the nurse should take to protect the patients safety.
-
Define the legal terms precedent, res judicata, stare decisis, original jurisdiction, and appellate jurisdiction.
-
Discuss the importance of the patients responsibility to communicate to the staff any symptoms he or she is experiencing.
-
Describe how human genetics and stem cell research can have an impact on end-of-life issues.
-
When paying expenses for a corporate meeting, meeting expenses are typically _______________ . Question 43 options: Paid by one company representative with one check or credit card Paid by attendees...
-
Why are stocks usually more risky than bonds?
-
A car-rental company has determined that the probability a car will need service work in any given month is 0.2. The company has 900 cars. a. What is the probability that more than 200 cars will...
-
Suppose that you toss a pair of dice and write down the value of the faces from each die. a. What is the population distribution for one die? b. Determine the sampling distribution of the sample...
-
The student government association at a university wants to estimate the percentage of the student body that supports a change being considered in the academic calendar of the university for the next...
-
The accountant for Elite Security Services Ltd reviewed the following information for accounts receivable: For the financial year 2022 - 2023 1. At 1 July 2022, Allowance for Doubtful Debts had an...
-
On 1 June, Sugar Rush Ltd had Accounts Receivable and Allowance for Doubtful Debts accounts as below. GST Inclusive. The following transactions occurred during the month of June: 5. Credit sales...
-
Outback Get Away Ltd sells four-wheel drive accessories and recovery equipment on credit. The accounting records at 30 June 2023 highlights the following. Ignore GST. In the past, the companys yearly...
Study smarter with the SolutionInn App