Delta Fares

I need help! Programming using functions and call function...10 pts?

need to make program using functions or call functions.. btw, we are using c++... heres the desired output to be made: -------------------------------------------- U R Travel and Tours (your one stop international booking outlet) -------------------------------------------- ** Booking Services ** (1) Plane Ticket Reservation (2) Hotel Accommodation Choose which service: ___ 1 -------------------------------------------- U R Travel and Tours (your one stop international booking outlet) -------------------------------------------- ** Plane Ticket Reservation ** (1) Philippine Airline (2) Cathay Pacific Which airline company? ___ 1 W E L C O M E Philippine Airline Ticket Reservation ** Country Code ** (11) United States of America (15) Philippines (12) United Kingdom (16) Thailand (13) Australia (17) Singapore (14) Canada (18) Korea Country of Origin ___ W E L C O M E Philippine Airline Ticket Reservation ** Country Code ** (11) United States of America (15) Philippines (12) United Kingdom (16) Thailand (13) Australia (17) Singapore (14) Canada (18) Korea Country of Origin ___ 10 ERROR 1011: Code not in the list! Please choose only codes from the list. ___ 11 Destination ___ 13 (1) Business Class ($ 800 Flat Rate anywhere in the world) (2) Economy Seat ($ 685 Flat Rate anywhere in the world) Which accommodation? ___ 1 *** W E L C O M E Cathay Pacific Ticket Reservation ** Country Code ** (11) United States of America (15) Philippines (12) United Kingdom (16) Thailand (13) Australia (17) Singapore (14) Canada (18) Korea Country of Origin ___ 11 Destination ___ 12 (1) Business Class ($ 900 Flat Rate anywhere in the world) (2) Economy Seat ($ 795 Flat Rate anywhere in the world) Which accommodation? ___ W E L C O M E Philippine Airline Ticket Reservation Business Class Accommodation From (country code): 11 To (country code): 13 Number of person travelling: ___ 1 $ 800 -------------------------------------------- U R Travel and Tours (your one stop international booking outlet) -------------------------------------------- ** Booking Services ** (1) Plane Ticket Reservation (2) Hotel Accommodation Choose which service: ___ 2 -------------------------------------------- U R Travel and Tours (your one stop international booking outlet) -------------------------------------------- ** Hotel Accommodation ** (1) Hilton Hotel (2) Marriott Hotel Which Hotel? ___ 1 W E L C O M E Hilton Hotel International (1) Family Room ($ 350 per day, anywhere in the world) (2) Couple Room ($ 250 per day, anywhere in the world) (3) Single Room ($ 100 per day, anywhere in the world) Which accommodation? ___ 1 *** W E L C O M E Marriott Hotel International (1) Family Room ($ 370 per day, anywhere in the world) (2) Couple Room ($ 240 per day, anywhere in the world) (3) Single Room

Public Comments

  1. I'll be needing a porsche in exchange for coding such a big program :)
  2. using Object Oriented Programming concept we can o it very easily man. Just try with structures and classes in C++. functions are old fashions.
  3. Um...all you need to do it is functions like the top of the description says it requires very little effort to put this together. And no I won't do your homework for 10 points (maybe some cash) plus you wouldn't learn much that way.
Powered by Yahoo! Answers