#include<iostream>
int main()
{
double a, s;
s = 0;
a = 1;
while (a <= 10)
s += a;
a++;
}
std::cout << s;
return 0;
#include<iostream>
int main()
{
double a, s;
s = 0;
a = 1;
while (a <= 10)
{
s += a;
a++;
}
std::cout << s;
return 0;
}