In this exercise, we say that a natural number is increasing if every digit is less than or equal to the digit which is on its right (if any).
Write a recursive function that tells if a natural number @n@ is increasing or not.
| C++ | |
| C | |
| Java | |
| Python | |
|
You only need to submit the required procedure; your main program will be ignored.
Input/Output