+ 1
can anyone give me an example of a program that uses naive sort?
I need help
2 Réponses
+ 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.
0
yes I have to do a flow chart of the naive sort and a very basic program that uses it