在下列给出的条件表达式,不正确的是[ ]
A: (ch>=65) and (ch<=90)
B: 'A' <= ch <= 'Z'
C: 'A' <= ch && ch <= 'Z'
D: (ch>='A') and (ch<='Z')
A: (ch>=65) and (ch<=90)
B: 'A' <= ch <= 'Z'
C: 'A' <= ch && ch <= 'Z'
D: (ch>='A') and (ch<='Z')
举一反三
- 在下列给出的条件表达式,不正确的是[ ] A: (ch>=65) and (ch<=90) B: 'A' <= ch <= 'Z' C: 'A' <= ch && ch <= 'Z' D: (ch>='A') and (ch<='Z')
- 在下列给出的条件表达式中,不正确的是【 】。 A: 'A' <= ch && ch <= 'Z' B: 'A' <= ch <= 'Z' C: (ch>='A') and (ch<='Z') D: (ch>=65) and (ch<=90)
- 在下列给出的条件表达式中,非法的是【 】。 A: 'A' <= ch && ch <= 'Z' B: 'A' <= ch <= 'Z' C: (ch>-'A' and (ch<='Z') D: (ch>-65) and (ch<=90)
- 判断char型变量ch是否为小写字母的正确表达式是( ) A: ‘a’<=ch<=‘a’ B: (ch>=‘a’)&(ch<=‘z’) C: (ch>=‘a’)&&(ch<=‘z’) D: (‘a’<= ch)AND(‘z’>= ch)
- 判断字符型变量ch是否为小写字母的正确表达式是()。 A: 'a'<=ch<='z' B: (ch>='a')&(ch<='z') C: (ch>='a')&&(ch<='z') D: ('a'<=ch)AND('z'>=ch)