Selection Sort

PSeudoCode:

Implemented Code:

output: