c++ question help

bujuranks

Senior member
Oct 17, 2000
489
0
0
This is suppose to be a simple problem but I'm new to c++ and I haven't gotten it yet.
The problem is to write a program using arrays. The program takes 5 names (first and last), age and weight and they should be on the same line for each entry. Then ask the question how do you want to sort by (first name, last name, age, weight or do you want to quit).
Any help will be greatly appreciated. Thanks.