ascending order
how can i check if the array element in ascending order using recursive ?
|
Shall we just a pick a programming language at random and hope that's the one you're asking about?
|
Quote:
Here's an implementation in C++. Code:
#include <iostream> |
And here's a C one that even tells you were the order breaks and uses one less function than that C++ version ;)
Code:
#include <stdio.h> |
Well done, I like your version better.
My coding skills are a little rusty :D |
All times are GMT -5. The time now is 12:32 PM. |