Home > Back-end >  The second question
The second question

Time:06-06

Code for

CodePudding user response:

Character figures - '0' is the corresponding integer
First determine the STR [0] is such as' - '
The for loop evaluation
Sum=sum * 10 + STR [I] - '0'

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related