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