Can someone please explain the structure of this while loop?

后端 未结 0 1478
被撕碎了的回忆
被撕碎了的回忆 2020-12-04 12:28

I need to know why sum=0 was initialized. If it is unnecessary, I need to know a reason why. Thanks.

The original question was: Given an input positive integer, outp

相关标签:
回答
  • 消灭零回复
提交回复
热议问题