A: 'A'<=c1<='Z'
B: (c1>='A')&(c1<='Z')
C: (c1>='A')&&(c1<='Z')
D: ('A'<=c1)AND('Z'>=c1)
举一反三
- 判断char型变量c1是否为大写字母的表达式为( )。 A: ’A’<=c1<=’Z’ B: (c1>=’A’) & (c1<=’Z’) C: (’A’<=c1)AND (‘Z’>=c1) D: c1>=’A’ && c1<=’Z’
- 判断char型变量c1是否为大写字母的正确表达式是( )。 A: 'A'<=c1<='Z' B: (c1>='A')&(c1<='Z') C: (c1>='A')&&(c1<='Z') D: ('A'<=c1)AND('Z'>=c1)
- 判断char型变量c1是否为大写字母的正确表达式为( )。 A: 'A'<=c1<='Z' B: (c1>=A. &&(c1<='z') C: ('A'>=c1)||('Z'<=c1) D: (c1>='A')&&(c1<='Z')
- 判断字符型变量c1是否为小写字母的正确表达式为( )。 A: ‘a’<=c1<=’z’ B: (c1>=’A’)&&(c1<=’z’) C: (‘a’>=c1)||(‘z’<=c1) D: (c1>=’a’)&&(c1<=’z’)
- 判断CHAR型变量C1是否为大写字母的表达式是( )。 A: 'A'<=C1<='Z' B: C1>='A'&C1<='Z' C: 'A'<=C1&&C1>='Z' D: 'A'<=C1 AND C1>='Z'
内容
- 0
判断字符型变量c1为小写字母的正确表达式为()。 A: ‘a’<=c1<=‘z’ B: c1>=a&& c1<=z C: c1>=‘a’|| c1<=‘z’ D: c1>=‘a’&& c1<=‘z’
- 1
判断字符型变量c1是否为数字字符的正确表达式为 A: '0'<=c1<='9' B: ('9'>=c1)&&('0'<=c1) C: (c1<='9')||(c1>='0') D: (c1>='9')&&(c1<='0')
- 2
判断char型变量c1是否为大写字母的正确表达式为____ ( ) A: 'A' B: (c1>=A) &&(c1 C: ('A'>=c1)||('Z' D: (c1>='A')&&(c1
- 3
判断char型变量ch是否为大写字母的正确表达式是( ) A: 'A' <= ch <= 'Z' B: (ch >= 'A') & (ch <= 'Z') C: (ch >= 'A') && (ch <= 'Z') D: (ch >= 'A') || (ch <= 'Z')
- 4
下面判断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