判断char型变量c1是否为大写字母的正确表达式是
A: 'A'<=c1<='Z'
B: (c1>=A)&&
C: ('A'>=c1)||('Z'<=c1)
D: (c1>='A')&&(c1<='Z')
A: 'A'<=c1<='Z'
B: (c1>=A)&&
C: ('A'>=c1)||('Z'<=c1)
D: (c1>='A')&&(c1<='Z')
D
本题目来自[网课答案]本页地址:https://www.wkda.cn/ask/pzjxxxazztxxtoo.html
举一反三
- 判断char型变量c1是否为大写字母的正确表达式是 A: 'A'<=c1<='Z' B: (c1>=A)&& C: ('A'>=c1)||('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) E: ('A'<=c1)&&('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' B: (c1>=A) &&(c1 C: ('A'>=c1)||('Z' D: (c1>='A')&&(c1
内容
- 0
判断char型变量c1是否为大写字母的正确表达式是_____。 A: 'A'<=c1<='Z' B: (c1>='A')&(c1<='Z') C: (c1>='A')&&(c1<='Z') D: ('A'<=c1) AND ('Z'>=c1) E: ('A'<=c1)&&('Z'>=c1)
- 1
判断字符型变量c1是否为小写字母的正确表达式为 A: 'a'<=c1<='z' B: (c1>=a)&&(c1<=z) C: ('a'>=c1)||('z'<=c1) D: (c1>='a')&&(c1<='z')
- 2
判断字符型变量c1是否为小写字母的正确表达式为( )。 A: ‘a’<=c1<=’z’ B: (c1>=’A’)&&(c1<=’z’) C: (‘a’>=c1)||(‘z’<=c1) D: (c1>=’a’)&&(c1<=’z’)
- 3
判断char型变量c1是否为大写字母的正确表达式是( )。 A: 'A'<=c1<='Z' B: (c1>='A')&(c1<='Z') C: (c1>='A')&&(c1<='Z') D: ('A'<=c1)AND('Z'>=c1)
- 4
判断字符型变量c1为小写字母的正确表达式为_________。 A: ‘a’<=c1<=‘z’ B: c1>=a && c1<=z C: c1>=‘a’||c1<=‘z’ D: c1>=‘a’&&c1<=‘z’