相关代码 |
|
//if-if0.cpp #include //cout,cin #include //getch() void main() { char ch; do { cout > ch; if ((ch>='0'&&ch='A'&&ch='a'&&ch //真:数字及字母 { if ((ch>='A'&&ch='a'&&ch { cout if (ch>='A'&&ch cout else cout } else cout cout } else cout cout > ch; }while (ch!='n'); }