may i need ur help in this Program, im stuck in this program.
>>
a class program to read in a persons names address and age of two ppl and print out the plder person.
the program shud print out the name, address and age of elder person and also it shud prit out the age differnce.
3. a simple bubblesort on the array should sort age from youngest to oldest.
4. print out the second array spot.
5. Then just subract the first array from the second.
cout<<array[1].age - array[0].age;
If you don't understnad this, you can do it with a crapload of if statements and loops, but this way will make your code look better.