sorting in class c++

Aug 8, 2015 at 6:50pm
Write your question here.
how can we use selection sort in class.
For example i have user input for three numbers and I have to arrange that numbers using selection sort.

Name
Susan Meyers
Mark Jones
Joy Rogers

ID Number
47899
39119
81774

Department

Accounting
IT
Manufacturing

Position

Vice President
Programmer
Engineer



***************************Sample output*************(sort according to id number)
Mark Jones
39119
IT
Programmer

Susan Meyers
47899
Accounting
Vice President


Joy Rogers
81774
Manufacturing
Engineer
***************************************
Last edited on Aug 8, 2015 at 6:52pm
Aug 8, 2015 at 7:31pm
Topic archived. No new replies allowed.