以下哪个选项是判断ch是否为大写字母的正确形式?
A: ch >= 'A' && ch <='Z'
B: ch <= 'Z' && ch >= 'A'
C: 'A' <= ch <= 'Z'
D: ch >= 'A' || ch <= 'Z'
E: ch >='A' AND ch <='Z'
F: ch BETWEEN 'A' AND 'Z"
A: ch >= 'A' && ch <='Z'
B: ch <= 'Z' && ch >= 'A'
C: 'A' <= ch <= 'Z'
D: ch >= 'A' || ch <= 'Z'
E: ch >='A' AND ch <='Z'
F: ch BETWEEN 'A' AND 'Z"
举一反三
- 以下哪个选项是判断ch是否为大写字母的正确形式? A: ch >= 'A' && ch <='Z' B: ch >= 'Z' && ch<= 'A' C: 'A' <= ch <= 'Z' 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
- 判断 char 型变量 ch 是否为大写字母的正确表达式是( )。 A: 'A'<=ch<='Z' B: ('A'<=ch) AND ('Z'>=ch) C: (ch>='A') & (ch<='Z') D: (ch>='A') && (ch<='Z')
- 以下哪个选项是判断ch是否为大写字母的正确形式? A: ch >= 'A' || ch <= 'Z' B: ch >= 'A' AND ch <= 'Z' C: ch <= 'Z' && ch >= 'A' D: 'A' <= ch <= 'Z'
- 判断ch是否为大写字母的正确表达式是()。 A: 'A'<;=ch<;='Z’ B: (ch>;=“A”)&&(ch<;="Z") C: (ch>;='A’)&&(ch<;='Z’) D: ('A'<;=ch) || ('z'>;=ch)