Home > Back-end >  Enter a string
Enter a string

Time:09-16

Enter a string

CodePudding user response:

Gets read the string
Cycle to judge is digital puts output
Counting length with an integer

CodePudding user response:

Judgment in ASCII other steps with upstairs and then in the loop with variable count length or use sizeof ()

CodePudding user response:

If (a [I] & gt;='0' & amp; & A [I] <='9')
  • Related