在下列给出的条件表达式中,不正确的是【 】。
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)
举一反三
- 在下列给出的条件表达式,不正确的是[ ] A: (ch>=65) and (ch<=90) B: 'A' <= ch <= 'Z' C: 'A' <= ch && ch <= 'Z' D: (ch>='A') and (ch<='Z')
- 判断char型变量ch是否为大写字母的正确表达式是()。 A: (ch>='A')&&(ch<='Z') B: ('A'>=ch)||('Z'<=ch) C: 65<=ch<=90 D: (ch>=A)&&(ch<=Z)
- 下面判断ch是大写或者小写英文字母的表达式哪个正确? A: ch >= 'A' && ch <= 'Z' || ch >= 'a' && ch <= 'z' B: ch >= A && ch <= Z || ch >= a && ch <= z C: 'A' <= ch <= 'Z' || 'a' <= ch <= 'z' D: A <= ch <= Z || a <= ch <= z
- 在下列给出的条件表达式中,不正确的是【 】。? (ch>='A') and (ch<='Z')|;'A' <= ch ;&& ;ch;<= 'Z'|(ch>=65) and (ch<=90);| 'A' <= ch <= 'Z'
- 判断字符型变量ch是否为小写字母的正确表达式是()。 A: 'a'<=ch<='z' B: (ch>='a')&(ch<='z') C: (ch>='a')&&(ch<='z') D: ('a'<=ch)AND('z'>=ch)