Get the length of a number by only using modulus : <p>Can someone help me figure out an exersice the IT teacher gave me?
I have to make a program, that calculates how many digits are in a number. For example:</p>

<p>I input a number 100, and the program gives me an output of 3.
If I input 99, the program gives me 2.</p>

<p>How can I achieve this by ONLY using the modulus (%) operator and nothing else, but mathematical calculations.</p>
