怎么不能用英文来做判断,只能用数字来做判断?
#include<stdio.h>int main(void)
{
printf("a\n");
printf("b\n");
char s;
char p = a;
float fss,ss;
scanf("%c",&s);
s==p?printf("YES:"),scanf("%f",&fss),ss=fss*2+1,printf("%f",ss):printf("YES2:"),scanf("%f",&fss),ss=(fss-32)*5,printf("%f",ss);
return 0;
}
怎么不能用s=p英文来做判断,只能用数字来做判断》?