Determining monotonic behavior of a number in C
I want to write a simple program that determines whether the number the user inputs is increasing, strictly increasing, etc. etc. 

To solve this I want to break up each digit and see if they are always getting smaller or not, etc. 
How do I break up the input into separate digits using scanf function?


Determining monotonic behavior of a number in C
===

I want to write a simple program that determines whether the number the user inputs is increasing, strictly increasing, etc. etc. 

To solve this I want to break up each digit and see if they are always getting smaller or not, etc. 
How do I break up the input into separate digits using scanf function?

