include iostream include math using namespace std int main int double

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include<iostream >
#include<math.h>
using namespace std;
int main ()
{
int A=3, X, Y, t;
double C=7.33;R=-0.2;Z17;
cout<<"Введите X и Y: ";
cin>>X>>Y;
t=Y%A;
if (X>=R)
{ if (t%2==0)
Z17=pow(Y+fabs(R+cos(X)),1/3.20;
else
Z17=0.12*pow(10,(-R))*pow(e,C);
}
else
{ if (Y>C)||(Y<0);
Z17=pow(X,C);
else
Z17=fabs(C-X);
switch (Y)
{
case 1:
Z17=C/Y;
break;
case 2:
Z17=A*Y;
break;
default:
Z17=0;
break;
}
}
cout<<"Z17="<<Z17<<endl;
return 0
}