问题 单项选择题

如果A为整数且|A|>100。则打印“OK”,否则打印“Error”,表示这个条件的单行格式 If语句是( )。

A.f Int(A)=AAndSqr(A)>100ThenPrintI"OK"ElsePrint\

B.f Fix(A)=AAndAbs(A)>100ThenPrint"OK"ElsePrint\

C.f int(A)=AAnd(A>=100,A<=100)ThenPrint"OK"ElsePrint\

D.f Fix(A)=AAndA~=100AndA<=100Thenhim"OK"ElsePrint\

答案

参考答案:B

单项选择题
单项选择题