+ 1

can anyone give me an example of a program that uses naive sort?

I need help

10th May 2020, 11:14 AM
panik 007
panik 007 - avatar
2 Antworten
+ 1
Is this for an assignment you have to do? You could make a user input numbers, as many as they want. You append each of them to a vector. Then you write a naive sorting function like 'bubble sort' and apply it on the vector.
10th May 2020, 11:23 AM
HonFu
HonFu - avatar
0
yes I have to do a flow chart of the naive sort and a very basic program that uses it
10th May 2020, 11:38 PM
panik 007
panik 007 - avatar