#35. 【基础题】计算1+2+…+100的和
【基础题】计算1+2+…+100的和
Cannot parse: Cannot read properties of null (reading 'length')
【基础题】计算1+2+…+100的和
题目描述
例4.2 利用for循环,计算输出1+2+…+100的和。
输入说明
无输入。
输出说明
一个数,所计算的和。
样例
输入
no input needed
输出
5050
Cannot parse: Cannot read properties of null (reading 'length')
例4.2 利用for循环,计算输出1+2+…+100的和。
无输入。
一个数,所计算的和。
no input needed
5050