1/2+1/3-1/4+1/5… C++ do while

前端 未结 0 1703
生来不讨喜
生来不讨喜 2020-12-13 07:25

How to write code that will calculate 1/2+1/3-1/4+1/5-1/6...+1/50 on c++?

I should use do while. I had some ideas how to find the sum of these values. but have any id

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