Airline Reservations System
A small airline has just purchased a computer for its new automated reservation system.
You have been asked to develop the new system called ARSystem. You are to write an
application to assign seats on each flight of the airline s only plane (capacity: 24 seats.)
Your application should display the following alternatives: Please type 1 for FirstClass
and Please type 2 for Economy. If the user types 1, your application should assign a seat
in the first-class section (seats 1-8). If the user types 2, your application should assign
a seat in the economy section (seats 9-24). Your application should then display a boarding
pass indicating the person s seat number and whether it is in the first-class or economy
標簽:
Reservations
automated
purchased
computer
上傳時間:
2017-04-14
上傳用戶:lizhizheng88