#include <stdio.h>
#include <math.h>
int main()
{
float x,y;
scanf("%f",x);
if(x<2)if (x<-10.5)
y=x;
else
y=xxx+1;
else if (x<8)
y=sqrt(x);
else
y=x/10;
printf ("y的值为%.2f",y);
return 0;
}
#include <stdio.h>
#include <math.h>
int main()
{
float x,y;
scanf("%f",x);
if(x<2)if (x<-10.5)
y=x;
else
y=xxx+1;
else if (x<8)
y=sqrt(x);
else
y=x/10;
printf ("y的值为%.2f",y);
return 0;
}