#include"stdio.h" main() { char c1,c2; c1=getchar(); if(c1<97&&c1>65); printf("%c,%d\n",c1,c1); c2=c1+32; printf("%c,%d\n",c2,c2); elseprintf("bad\n");}编译失败,错误在else
去掉也不行啊
缺红大括号,多谢了