Hey everyone,

I was curous, without using library functions, how I could go about figuring out how many digits are in a number. I'm doing this to test some user input and print in error message if they enter any number that doesn't have 4 digits. Any suggestions? Thanks a lot!