请教哈`~到底那点错~~~~
main(){
int a,b,c,e ;
char d;
printf("please a:");
scanf("%d",a);
printf("please b:");
scanf("%d",b);
printf("please d:");
scanf("%c",d);
switch(d)
case '+':
{
if(c==(a+b))
e=1;
else
e=0;
}
case '-':
{
if(c==(a-b))
e=1;
else
e=0;
}
{
if(e)
printf("good");
else
printf("not");
}
}