Find Jobs
Hire Freelancers

C++ question

max $5 USD

已取消
已发布超过 18 年前

max $5 USD

货到付款
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++
项目 ID: 3122176

关于此项目

5提案
远程项目
活跃18 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
5威客以平均价$4 USD来参与此工作竞价
用户头像
See private message.
$4.25 USD 在9天之内
5.0 (45条评论)
4.6
4.6
用户头像
See private message.
$4.25 USD 在9天之内
4.8 (54条评论)
4.1
4.1
用户头像
See private message.
$4.25 USD 在9天之内
4.6 (2条评论)
2.5
2.5
用户头像
See private message.
$4.25 USD 在9天之内
5.0 (1条评论)
0.7
0.7
用户头像
See private message.
$4.25 USD 在9天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
5.0
3
会员自11月 19, 2005起

客户认证

这个客户的其他工作

easy C++ questions
max $5 USD
谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。