RSS Forums RSS
Please support our C++ advertiser: Programming Forums

plz help(Airline Reservation System)

Join Date: May 2006
Posts: 7
Reputation: wwaall2004 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
wwaall2004 wwaall2004 is offline Offline
Newbie Poster

Help plz help(Airline Reservation System)

  #1  
May 10th, 2006
hi every one

iam new member in your sites

and i hope i will find what iam looking for:rolleyes:

so my friends i really want ur help

iam students in univerisity 3rd level and our teacher ask us to write program in c++

this one below


{
Develop an Airline Reservation System in which five arrays are maintained. The first array has the names of the customers, the second array has the number of seats the customer wants, the third array has the destination city of customer, the fourth array has the amount he has paid, and the fifth array has information about whether the customer’s reservation is confirmed or not – so this fifth array can have values either ‘confirmed’ or ‘unconfirmed’. Your program should read arbitrary data from an input file "reservations.txt", and then displays a menu with the following options:

1. Add a new reservation
2. Show details of a reservation (given reservation number)
3. Make Payment (given the reservation number and payment amount)
4. Confirm a Reservation (given the reservation number)
5. Quit

The index of the array should be taken as the Reservation number. So for example if you want to check or update any information related to reservation number 3, then you can actually work with the values in the third index of all the arrays. If you add a new reservation, then obviously a new reservation number will be generated as you will add a new index in all the arrays.
When your program is quit you should make sure that before quitting all the changes in the arrays are written into the “reservation.txt� – Basically all information in “reservation.txt� should be updated according to all activities done in your program, e.g. adding a new reservation, making payment and confirming reservation.

You should apply modular programming, with a separate function for each major task in your program.
}

so iam really want ur help in that

and thank u very much

and this is my e-mail
(hot_sun_03@hotmail.com)
AddThis Social Bookmark Button
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:13 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC