You are on page 1of 1

10

fun:xy

x(x+2) (2<x<=10)
y=2x (-1<x<=2)
x+1 (x<=-1)

Blan1.c

main()
{ int x,y;
scanf("%d",&x);
/**********found**********/
if(__1__) y=x*(x+2);
/**********found**********/
else if(__2__) y=2*x;
else if(x<=-1) y=x+1;
/**********found**********/
else __3__;
if(y!=-1) printf("%d",y);
else printf("error");
}

You might also like