Selection Sort X99178


Statement
 

pdf   zip   main.cc

html

Write a procedure

void sort(vector<double>& V);

that sorts V in increasing order using the selection sort algorithm.

Observation You only need to submit the required procedure; your main program will be ignored.

Information
Author
Jordi Gran
Language
English
Translator
Carlos Molina
Original language
Catalan
Other languages
Catalan
Official solutions
C++
User solutions