im trying to do a program about an array of ppl.
i need to let the user input the details of 10 or less ppl. and the information to be stored in th program. the program should consis of two loops th 1st loop should continue repeating round and allows the user to enter the next person until the array is full up or the user decides to stop. the 2nd loop is shold print out all the dtails entered by the usr. i need to delare an array of 19 ppl and an integer that will hold the numbr of ppl so far.
this is wat i done so far....and now im confused.....n stuck plz help me
void set_age(int a);
void person::set_age(int a)
age = a;
cout << age<<endl;