77 895
Assignments Done
Successfully Done
In August 2019

Answer to Question #32212 in C++ for Ahmed

Question #32212
please help need an answer

Airline Booking System

a small airline company bought a computer to automate reserving tickets.
it asks me to build it's system
This airline company has one plane which has 10 seats
10 seats are split into two zones: 5 seats for business man and 5 for normal people .

write a code to solve these problems as following :

1- Define a variable represents the booking zone.
2- Display these sentences on the screen.
press 1 : to reserve in business man zone .
press 2 : to reserve in Normal people zone.

3- Define variables represents 5 seats for each zone (counter for each zone).
4- Reserve a ticket for one person (verify if there is empty seats than decrease the counter).
5- Repeat the above code to five seats.
if we suppose a variable represents a passport number for person as following :\

double pas_num;
cout<<"Enter the passport number"<<endl;

then we define a single array for each zone in the plane as following :

double B_man[5];
double people[5];

6- write two fo
Expert's answer
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we&#039;ll assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions