题目:
选择题
如果a为整数且a的绝对值大于等于100,则打印“ok”,否则打印“Error”,表示这个条件的单行格式If语句是( )。
- A. If Int(a)=a And (a>=100,a<=-100) Then Print "ok" Else Print "Error"
- B. If Fix(a)=a And (a>=100 And a<=-100) Then Print "ok" Else Print "Error"
- C. If Fix(a)=a And Abs(a)>=100 Then Print "ok" Else Print "Error"
- D. If Int(a)=a And Sqr(a)>=100 Then Print "ok" Else Print "Error"
答案:
<查看本题扣1积分>