I need my program to be able to read how many digits are in a number that is input by the user.
For example, I'm looking for something like:
Of course, the parts in brackets are not correct code for c. I just don't know how to interpret this from English to C.Code:if (digits = 10) { .... do something.... } else { ... do something else.... }
Thanks for any help!