You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
205 B
20 lines
205 B
11 months ago
|
|
||
|
int main()
|
||
|
{
|
||
|
//newline=10;
|
||
|
int i;
|
||
|
int sum;
|
||
|
sum=0;
|
||
|
//m = 1478;
|
||
|
//int t;
|
||
|
i=0;
|
||
|
while(i<21)
|
||
|
{
|
||
|
sum=sum+i;
|
||
|
i=i+1;
|
||
|
}
|
||
|
|
||
|
putint(sum);
|
||
|
|
||
|
return 0;
|
||
|
}
|