如果运行时输入字符q,则下面程序的运行结果是____________。main() { char ch; scanf("%c",&ch); ch=(ch>='a'&&ch>='z')?(ch-32):ch; ch=(ch>='A'&&ch>='Z')?(ch+32):ch;printf(“%c”,ch);}
如果运行时输入字符q,则下面程序的运行结果是____________。main() { char ch; scanf("%c",&ch); ch=(ch>='a'&&ch>='z')?(ch-32):ch; ch=(ch>='A'&&ch>='Z')?(ch+32):ch;printf(“%c”,ch);}
发布时间:2024-09-25 14:41:21