Find Jobs
Hire Freelancers

Age conversion program

$30-100 USD

已完成
已发布超过 20 年前

$30-100 USD

货到付款
**1. Arrays of people** first of all, make a project called prog1_arrrayPeople, and add a new c++ source file called array_people.cpp. The requirements for this program are: To allow the user to enter details for upto 10 people. After the user has finished, these details are displayed on the screen. There is only one detail about each person - their age! An integer is used to store this information, and this represents the age of the person measured in days. For example , the age of a one-year old baby is '365'. **Include the following source code in this file.** *class Person { Private: int age; public: void set_age(int a); int get_age(); void print(); void input(); }; void person::input() { cout << "age?" < cin >> age; } Void Person::set_age(int a) { age=a; } int Person::get_age() { return age; } Void Person::print() { cout << "age is " << age << "days. " << endl; }* Then define an empty main function (at this stage its good to check that your program compiles). The require for this program is to let the user input the details of 10 or less people, and for this information to be stored in the program and then to be printed out. Declare an array of ten people - e.g. Person people[10] and an integer that will gold the number of people input so far - eg num_stored. The first loop will continue repeating round allowing the user to enter details into the next instance in the array until either the array is full up or the user decides to stop. The second loop should print out all the details entered by the user. There are 3 more questions which manipulate this program in a calculation and a sort operation please see the zip file attached. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. ## Platform needs to run on windows nt, 2000, xp
项目 ID: 2965636

关于此项目

3提案
远程项目
活跃21 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$16.99 USD 在1天之内
5.0 (160条评论)
6.0
6.0
3威客以平均价$17 USD来参与此工作竞价
用户头像
See private message.
$8.50 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$25.50 USD 在1天之内
0.0 (3条评论)
0.0
0.0

关于客户

UNITED KINGDOM的国旗
United Kingdom
2.5
1
会员自8月 20, 2003起

客户认证

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