Find Jobs
Hire Freelancers

C++ question

max $5 USD

Cancelled
Posted over 18 years ago

max $5 USD

Paid on delivery
Easy question just need a quick program. (Airline Resevations System) A small airline has just purchased a computer for its new automated reservations system. You have been asked to program the new system. You are to write a program to assign seats on each flight of the airline's only plane (capacity: 10 seats). The program should display the following menu of alternatives- Please type 1 for "First Class" and please type 2 for "Economy". If the person types 1, the program should assign him a seat in the first class section (seats 1-5). If the person types 2, the program should assign a seat in the economy section (seats 6-10). The program should print a boarding pass indicating the person's seat number and whether it is in first class or economy section of the plane. Use a single subscripted array to represent the seating chart of the plane. Initialize all the elements of the array to 0 to indicate that all seats are empty. As each seat is assigned, set the corresponding element of the array to 1 to indicate that the seat is no longer available. When the first class section is full your program should ask the person if it is acceptable to be placed in the nonsmoking section and vice versa. If yes, then make the appropriate seat assignment. If no then print the message "Next flight leaves in 3 hours." ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Linux C++
Project ID: 3122176

About the project

5 proposals
Remote project
Active 18 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $4 USD for this job
User Avatar
See private message.
$4.25 USD in 9 days
5.0 (45 reviews)
4.6
4.6
User Avatar
See private message.
$4.25 USD in 9 days
4.8 (54 reviews)
4.1
4.1
User Avatar
See private message.
$4.25 USD in 9 days
4.6 (2 reviews)
2.5
2.5
User Avatar
See private message.
$4.25 USD in 9 days
5.0 (1 review)
0.7
0.7
User Avatar
See private message.
$4.25 USD in 9 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
3
Member since Nov 19, 2005

Client Verification

Other jobs from this client

easy C++ questions
max $5 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.