如果A为整数且,|A|>=10,则打印“OK”,否则打印“Error”,表示这个条件的单行格式If语句是( )。A.If Int(A)=A And Sqr(A)>=10 Then Print"OK"Else Print "Error"B.If Fix(A)=a And Abs(A)>=-10 Then Print"OK"Else Print "Error"C.If Int(A)=A And(A>=10,A<-10) Then Print"OK"Else Print "Error"D.If Fix(A)=A And A>=10,And A<=-10 Then Print"OK" Else Print "Error"
如果A为整数且,|A|>=10,则打印“OK”,否则打印“Error”,表示这个条件的单行格式If语句是( )。
A.If Int(A)=A And Sqr(A)>=10 Then Print"OK"Else Print "Error"
B.If Fix(A)=a And Abs(A)>=-10 Then Print"OK"Else Print "Error"
C.If Int(A)=A And(A>=10,A<-10) Then Print"OK"Else Print "Error"
D.If Fix(A)=A And A>=10,And A<=-10 Then Print"OK" Else Print "Error"
相关考题:
(19)如果A为整数且|A|=10,则打印“OK”,否则打印“Error”,表示这个条件的单行格式If语句是 A.If Int(A)=A And Sqr(A)=10 Then Print“OK”Else Print “Error” B.If Fix(a)=A And Abs(a)=10 Then Print“OK”Else Print “Error” C.If Int(A)=A And (A=10 ,A=-10) Then Print“OK”Else Print “Error” D.If Fix(A)=A And A=10, Abs A=-10 Then Print“OK”Else Print “Error
如果A为整数且|A|>100。则打印“OK”,否则打印“Error”,表示这个条件的单行格式 If语句是( )。A.If Int(A)=AAndSqr(A)>100ThenPrintI"OK"ElsePrint"Error"B.If Fix(A)=AAndAbs(A)>100ThenPrint"OK"ElsePrint"Error"C.If int(A)=AAnd(A>=100,A<=100)ThenPrint"OK"ElsePrint"Error"D.If Fix(A)=AAndA~=100AndA<=100Thenhim"OK"ElsePrint"Error"
如果x为整数且|x|>=100,则打印“OK”,否则打印“Error”,表示这个条件的单行格式 If语句是A.If Int((x)=x And Sqr(x)>=100 Then Print "OK" Else Print "Error"B.If Fix(x)=x And Abs(x)>=100 Then Print"OK"Else Print"Error"C.If Int(x)=x And (x>=100,x<=-100)Then Print"OK"Else Print"Error"D.If Fix(x)=x And x>=100 And x<=-100 Then Print "OK" Else Print "Error"
如果A为整数,且|A|>=100,则打印"OK",否则打印"Error",表示这个条件的单行 格式If语句是( )。A.If int(A)=AAnd Sqr(A)>=10ThenPrint"OK"ElsePrint"Error"B.IF Fix(A)=AAndAbs(A)>=100Then Print"OK"Else Print"Error"C.IF Int(A)=AAnd(A>=100,A<=-100)ThenPrint"OK"ElsePrim"Error"D.If Fix(A)=AAndA>=100,AndA<=-100ThenPrint"OK"ElsePrint"Error"
如果A为整数且|A|>=100,则打印“OK”,否则打印“Error”,表示这个条件的单行格式If语句是A.If Int(A)=A And Sqr(A)>=100 Then Print "OK" Else Print "Error"B.If Fix(A)=A And ABS(A)>=100 Then Print "OK" Else Print "Error"C.If Int(A)=A And(A>=100,A<=-100)Then Print "OK: Else Print "Error"D.If FiX(A)=AAnd A>=100 And A<=-100 Then Print "OK" E1se Print "Error"
如果A为整数且|A|>=10,则打印“OK”,否则打印“Error”,表示这个条件的单行格式If语句是( )。A.If Int(A)=A And Sqr(A)>=10 Then Print "OK",Else Print "Error"B.If Fix(a)=a And Abs(a)>=10 Then Print "OK" Else Print "Error"C.If Int(A)=A And(A>=10,A<=-10)Then Print "OK" Else Print "Error"D.If Fix(A)=A And A>=10,And A<=-10 Then Print "OK" Else Print "Error"
编程实现下面要求: 以左对齐方式输出整数 40000,域宽为15,空位用*填充。 打印有符号数和无符号数 100。 将十进制整数 100 以0x开头的十六进制格式输出。 用前导 * 格式打印1.234,域宽为10。