#include<iostream>
using namespace std;
int main()
{
int sum;
int i=1;sum=0;
while(i<=20)
{
sum=sum+i;
i++;
}
cout<<"sum="<<sum<<endl;
return 0;
}
#include<iostream>
using namespace std;
int main()
{
int sum;
int i=1;sum=0;
while(i<=20)
{
sum=sum+i;
i++;
}
cout<<"sum="<<sum<<endl;
return 0;
}