回复 2楼 ab1412
你好,为什么完善后的程序sums正确,但是uper和lower的值在输出的时候分别都增加了?enter uper and lower integer limits:
3 1
the sums of the squares from 4 to 3 is 14.
enter uper and lower integer limits:
2 1
the sums of the squares from 3 to 2 is 5.
enter uper and lower integer limits: