Output within a five number How to output a few digits is it
CodePudding user response:
Take over, circulation, + 1, in addition
CodePudding user response:
Greater than 9 is 2 digits Greater than 99 is 3 digits .
CodePudding user response:
Int bit=0; int n; Printf (" please enter an integer: \ n "); The scanf (" % d ", & amp; N); While (n!=0) { Bit++; N/a=10; } Printf (" you input is % d digits \ n ", bit);