#include <iostream>
#include <math.h>
using namespace std;
int main() {
cout.precision(10);
double x, y, z;
cin >> x >> y >> z;
if (x>=0) cout << sqrt(x) << " ";
if (y>=0) cout << sqrt(y) << " ";
if (z>=0) cout << sqrt(z);
return 0;
}
#include <iostream>
int main()
{
float x,y;
std::cout <<"X = ";
std::cin >> x;
std::cout <<"Y = ";
std::cin >> y;
float max=(x>y) ? x:y;
float min=(x<y) ? x:y;
std::cout <<"Big: " <<max <<std::endl
<<"Small: " <<min <<'\n';
return 0;
}
S=63;
1)S:=63+1=64;
x:=1+1=2;
2)S:=64+2=66;
x:=2+1=3;
3) S:=66+3=69;
x:=3+1=4;
4)S:=69+4=73;
x:=4+1=5.
Ответ: S=73
Напишу так алгоритм / ответ
x:=1 / 1
y:=3∗x
/ 3
y:=y+3 / 6
y:=y∗x / 6
y:=y+4 / 10
y:=y∗x / 10
y:=y+5 / 15
Надеюсь мое объяснение вам помогло. Буду рад если вы отметите мое решение как лучшее