下列Visual Basic语句中,功能不同的一组是 求解!!!
下列VisualBasic语句中,功能不同的一组是(A)If(a=True)Thenb=b+1与IfaThenb=b+1(B)If(a=False)Thenb=b+1与I...
下列Visual Basic语句中,功能不同的一组是
(A)If (a = True) Then b = b + 1 与 If a Then b = b + 1
(B)If (a = False) Then b = b + 1与If Not a Then b = b + 1
(C)If (a >= 0) Then b = b + 1 与If Not (a < 0) Then b = b + 1
(D)If (a < 0) Then b = b + 1 与If Not (a > 0) Then b = b + 1
答案为D WHY?????? 展开
(A)If (a = True) Then b = b + 1 与 If a Then b = b + 1
(B)If (a = False) Then b = b + 1与If Not a Then b = b + 1
(C)If (a >= 0) Then b = b + 1 与If Not (a < 0) Then b = b + 1
(D)If (a < 0) Then b = b + 1 与If Not (a > 0) Then b = b + 1
答案为D WHY?????? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询