+ 2
Need help
how to write a program to reads a value of N and then computes the third smallest number ?
6 Réponses
+ 5
To do that you world need to sort your array from lowest to highest.
Then you would need to index the third value.
+ 4
I would like to know the answer as well.
How do you like C++ so far?
+ 2
value of N in some sort of a function or just Any N?
+ 2
@Luyanda
I think to sort numbers by value.
I have been checking out some stuff online to do it on my downtime.
+ 2
I have been reading this to sort an array
http://mathbits.com/MathBits/CompSci/Arrays/Sorting.htm
+ 2
This one works as well
So far, it seems easier than the other
http://www.cplusplus.com/articles/NhA0RXSz/