#includevoidmain(){intx=2,y;switch(x){case1:y=x;break;case2:y=-x;case3:
y=x*3;break;
case4:y=4*x;
printf(“%dn”,y);
}