int? Master ()
{
Double? x,y;
scanf("%lf ",& ampx);
if(x & lt; 0)
y = 0;
Or what? if(0 & lt; = x & amp& ampx & lt5)
y = x+2;
Or what? if(5 & lt; = x & lt 10)
y = x * x-3;
Or what? if( 10 & lt; x)
y = 10;
printf("%lf ",y);
Return? 0;
I'll change you to the third category.
Hope to adopt