AP Computer Science Question. Plane program.?
I will give you the exact assignment. If you feel like helping me out, that is greatly appreciated. If not, that is fine. Here it is:
3. The Fly-by-Night airline company needs a software application that will manage their
reservation system. The airline is new, thus they only have the one plane. The seating
arrangement looks like this:
X X X door X X X X
X X X X X X X
X X X X X X X X bath
X X X X X X X X room
When a passenger is assigned to a seat, they should have the following information:
- Name
- Status ( P=Preferred, R=Regular, C=Child )
The passenger should also have a price ( which is a double ), and a destination. The
flight only goes to Chicago, then on to New York. If you are traveling to Chicago, the
price is 149.00, to New York the price is 249.00. Preferred members get a 15% discount,
children fly for half price.
The program should have the following features.
- Add a new passenger to the plane ( Select seat manually or randomly )
- Remove a passenger from the plane
- Display the current seating chart
- Find a passenger by seat number or name
- Calculate the current total revenue for the flight
- Clear the seating chart when the flight takes off, or is cancelled ( password )
- Save/retrieve data from a file ** bonus/optional
Make sure all methods are robust. They should deal with inappropriate data.
Blogs of Interest
- Music Singles Chart #34 | PhotogMusic
- Fighting Back: Delta Flight Attendants Tell AFA “Go Away!” | RedState
- Reverb 10: Writing & Moment – Noisiest Passenger
- New York Shitty Street Seating Du Jour: Urban Green « newyorkshitty.com
- How to Avoid Sneaky Airline Fees
- Independent seeking seat on Oak Park village board — Oak Park & River Forest news, photos and events — TribLocal.com
- Bing Adds Natural Language To Flight Search
- Virginia Tech Hokies College Football Tickets and Seating Chart | teammonster
- On Assignment: A Photographic Mission to Nicaragua
- CLIQ 2 Name Hits Trademark Offices – Finally on its Way? | Android Phone Fans
- Mileybird’s High Flight Gets Animated! | PerezHilton.com
- The Name Of Anderson Cooper’s New Talk Show Is… | PerezHilton.com
- Domain Name Wire » News » Domain Name Thief Pleads Guilty, May Spend 5 Years in Jail – The Domain Industry’s News Source
- International fees help add $900M to airline revenue | Chicago Breaking Business
- States to get U.S. Congress seat counts next week « In Session: Tennessee Politics
- The Assignment and Grading Enhancements You Requested Are Here
- Name That Shifter, No. 4 – Car and Driver Blog