#2
bcbbcclbbc2019-10-16 06:11
|
#include<stdio.h>
#include<math.h>
int main()
{
double a,x,y;
scanf("%lf",&x);
a=10.2;
if(x>=-100,'&&',x<=0);
{
y=sqrt(a*a+x*x);
printf("%lf",y);
else if(x>=0)
y=3*a*x*x+4*a*x-1;
printf("%lf",y);
};
return 0;
};