Ответ:
#include<iostream>
int main()
{
double a, s;
s = 0;
a = 1;
while (a <= 10)
s += a;
a++;
}
std::cout << s;
return 0;
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#include<iostream>
int main()
{
double a, s;
s = 0;
a = 1;
while (a <= 10)
{
s += a;
a++;
}
std::cout << s;
return 0;
}