#16253. 【基础题】计算1+2+…+100的和
【基础题】计算1+2+…+100的和
说明
例4.2 利用for循环,计算输出1+2+…+100的和。
输入格式
无输入。
输出格式
一个数,所计算的和。no input needed5050
例4.2 利用for循环,计算输出1+2+…+100的和。
无输入。
no input needed5050
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.