I am not going to do any more work on the sort for you, but Are you saying you are not allowed to use loops for the output either? If that is the case why are you allowed one to populate your array?...
Type: Posts; User: rogster001
I am not going to do any more work on the sort for you, but Are you saying you are not allowed to use loops for the output either? If that is the case why are you allowed one to populate your array?...
Well does it work? Compile? Sort?
nice one, it seems, i hope, that you are trying to use the example as a pointer and not looking for the actual question answer from somebdy, because that is not going to happen. that is why i chose...
Here is a selection sort without loops, so you can get idea of the kind of method you have to employ. FYI i based it on the selection sort example in the FAQ algorithms tutorial, which is nice and...
I think it should be noted that the pyramid example, and similar things like subdivide for square / diamond algorithm, typically use a call to shape each figure within the overall dimension - so you...
There are surely gazillions of them avilable through a simple google search, I remember a classic being fibbonaci series.
Heres a very simple countdown, It is most unsophisticated but still...
...