#2611. 【基础题】计算1+2+…+100的和

【基础题】计算1+2+…+100的和

说明

例4.2  利用for循环,计算输出1+2+…+20的和。




输入格式

无输入。


输出格式

一个数,所计算的和。
no input needed

Source

语言基础-循环结构