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: '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: ‘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)
内容
- 0
判断char型变量ch是否为大写字母的正确表达式是 ________ 。 A: ˊAˊ <=ch<= ˊZˊ B: ( ˊAˊ <=ch) AND ( ˊZˊ >=ch) C: (ch>= ˊAˊ )&(ch<= ˊZˊ ) D: (ch>= ˊAˊ )&&(ch<= ˊZˊ )
- 1
判断char型变量ch是否为小写字母的正确表达式是______。 A: 'a'<=ch<='z' B: (ch>='a') & (ch<='z') C: (ch>='a') && (ch<='z') D: ('a'<=ch) AND ('z'>=ch)
- 2
判断char型变量ch是否为大写字母的正确表达式是() A: 'A'<=ch<='Z' B: (ch>='A')&(ch<='Z') C: (ch>='A')&&(ch<='Z') D: ('A'<=ch)and('z'>=ch)
- 3
判断char型变量ch是否为小写字母的正确表达式是( )。 A: 'a'<=ch<='z' B: (ch>=a)&&(ch<=z) C: ('a'>=ch)||('z'<=ch) D: (ch>='a')&&(ch<='z')
- 4
下列选项中用于判断ch是否是英文字母的表达式是( )。? ( ch >= 'a' && ch <= 'z' ) || ( ch >= 'A' && ch <= 'Z' )|;( 'a' <= ch <= 'z' ) || ( 'A' <= ch <= 'Z' )|( ch >= 'a' && ch <= 'z' ) && ( ch >= 'A' && ch <= 'Z' )|( 'a' <= ch <= 'z' ) && ( 'A' <= ch <= 'Z' )