Em Andamento

Age conversion program

**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



int age;


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)




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

Habilidades: Programação C, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: ten second, ten questions, sort array, define functional programming, define programming, sort function, programming define, programming arrays, cpp return array, cpp questions, cpp programming questions, cpp programming, cpp program example, cpp array, array cpp, new age, integer programming, endl, age, check input function php, conversion program, php file operation, information age project, form conversion software, windows conversion

Acerca do Empregador:
( 1 comentário ) United Kingdom

ID do Projeto: #2965636

Premiar a:


See private message.

$16.99 USD em 1 dia
(160 Avaliações)

3 freelancers estão ofertando em média $17 para este trabalho


See private message.

$8.5 USD em 1 dia
(0 Comentários)

See private message.

$25.5 USD em 1 dia
(3 Comentários)