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)
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:sad:
and thank u very much
and this is my e-mail