ARRAYS - Part 3 - Selection Sort
ARRAYS - Part 3 - Selection Sort
PART - 3
2
PASS 1 PASS 6
PASS 2 PASS 7
PASS 3
Sorted array
PASS 4
5
First Accept Numbers Into The Array.
PROGRAMS
1. Initialize an array with the computer marks(out of 100) of 10 students, initialize another
array with the corresponding names of the Students. Under appropriate heading, using
Selection sort technique, display the marks of the students from the lowest mark to the
highest mark along with the corresponding names of the students.
2. An organization has 150 employees. Accept the names of the employees along with the
PAN number (alphanumeric values) into two separate arrays. Sort the names of the
employees in alphabetical order. Display the sorted names along with the corresponding
PAN numbers using Selection sort technique.
8
Thanks!