当前位置: X题卡 > 所有题目 > 题目详情

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

查看本题答案

你可能感兴趣的试题

If Int(A)=A And Sqr(A)>=10 Then Print "OK",Else Print  If Fix(a)=a And Abs(a) >=10 Then Print "OK" Else Print "Error"  If Int(A)=A And(A>=10,A<=-10)Then Print "OK" Else Print  If Fix(A)=A And A>=10,And A<=-10 Then Print "OK" Else Print  
If Int(A) =A And Sqr(A) >=10 Then Print "OK" Else Print  If Fix(A) = A And Abs(A) >=10 Then Print "OK" Else Print  If Int(A) =A And(A>=10,A<=-10)Then Print "OK" Else Print  If Fix(A) =A And A>=10,And A<=10 Then Print "OK" Else Print  
If int(=AAnd Sqr(>=10ThenPrint"OK"ElsePrint"Error"  IF Fix(=AAndAbs(>=100Then Print"OK"Else Print"Error"  IF Int(=AAnd(A>=100,A<=-100)ThenPrint"OK"ElsePrim"Error"  If Fix(=AAndA>=100,AndA<=-100ThenPrint"OK"ElsePrint"Error"  
f Int(A)=A And Sqr(A)>=10 Then Print"OK"Else Print /  If Fix(a)=a And Abs(a)>=-10 Then Print"OK"Else Print "Error"  f Int(A)=A And(A>=10,A<-10) Then Print"OK"Else Print /  f Fix(A)=A And A>=10,And A<=-10 Then Print"OK" Else Print /  
If Int(x)= x And Sqr(x)> = 100 Then Print "OK" Else Print "Error"  If Fix (x)= x And Abs(x)> = 100 Then Print "OK" Else Print "Error"  If Int(x)= x And (x > = 100, x < = -100)Then Print "OK" Else Print "Error"  If Fix(x)= x And x > = 100 And x < = -100 Then Print "OK" Else Print "Error"  
If Int(A)=A And Sqr(A) >=100 Then Print"OK" Else Print  lf Fix(A)=A And Abs(A) >=100 Then Print"OK" Else Print  If Int(A)=A And (A>=100, A<=-100) Then Print"OK" Else Print  If Fix(A)=A And A>=100 And A<=-100 Then Print"OK" Else Print  
If x>=y^3 Print “OK”  If x>=y*y*y Then “OK”  If x>=y^3 Then Print “OK”  If x>=y*y*y Then Print “OK” End If  
打印出321  打印出23  不打印任何内容  陷入死循环  
If Int(A)=A And Sqr(A)>=10 Then Print "OK" Else Print "Error"  If Fix(a)=a And Abs(a)>=10 Then Print "OK" E1se Print "Error"  If Iht(A)=A And(A>=10,A<=-10)Then Print "OK" Else Print "Error"  If Fix(A)=A And A>=10,And A<=-10 Then Print "OK" Else Print "Error"  
If Int(A)=A And Sqr(A)>=100 Then Print "OK" Else Print  If Fix(A)=A And ABS(A)>=100 Then Print "OK" Else Print  If Int(A)=A And(A>=100,A<=-100)Then Print "OK: Else Print  If FiX(A)=AAnd A>=100 And A<=-100 Then Print "OK" E1se Print  
If Int(A)=A And Sqr(A)>=10 Then Print "OK" Else Print "Error"  If Fix(=a And Abs(>=10 Then Print "OK" E1se Print "Error"  If Iht(A)=A And(A>=10,A<=-10)Then Print "OK" Else Print "Error"  If Fix(A)=A And A>=10,And A<=-10 Then Print "OK" Else Print "Error"  
A) If Int=A And Sqr >=100 Then Print"OK"Else Print "Error"  B) If Fix=A And Alos >=100 Then Print"OK"Flse Print "Error"  C) If Int=A And Sqr(A>=100,A<=-100) Then Print"OK"Else Print "Error"  D) If Fix=A And Abs(A>=100,And A<=-100)Then Print"OK"Else Print "Error/  
If Int(=AAndSqr(>100ThenPrintI"OK"ElsePrint"Error"  If Fix(=AAndAbs(>100ThenPrint"OK"ElsePrint"Error"  If int(=AAnd(A>=100,A<=100)ThenPrint"OK"ElsePrint"Error"  If Fix(=AAndA~=100AndA<=100Thenhim"OK"ElsePrint"Error"  
If Int((x)=x And Sqr(x)>=100 Then Print "OK" Else Print "Error"  If Fix(x)=x And Abs(x)>=100 Then Print"OK"Else Print"Error"  If Int(x)=x And (x>=100,x<=-100)Then Print"OK"Else Print"Error"  If Fix(x)=x And x>=100 And x<=-100 Then Print "OK" Else Print "Error"  
f Int(A)=AAndSqr(A)>100ThenPrintI"OK"ElsePrint/  f Fix(A)=AAndAbs(A)>100ThenPrint"OK"ElsePrint/  f int(A)=AAnd(A>=100,A<=100)ThenPrint"OK"ElsePrint/  f Fix(A)=AAndA~=100AndA<=100Thenhim"OK"ElsePrint/  
f int(A)=AAnd Sqr(A)>=10ThenPrint"OK"ElsePrint/  F Fix(A)=AAndAbs(A)>=100Then Print"OK"Else Print/  F Int(A)=AAnd(A>=100,A<=-100)ThenPrint"OK"ElsePrim/  f Fix(A)=AAndA>=100,AndA<=-100ThenPrint"OK"ElsePrint/  
If Int((=x And Sqr(>=100 Then Print "OK" Else Print "Error"  If Fix(=x And Abs(>=100 Then Print"OK"Else Print"Error"  If Int(=x And (x>=100,x<=-100)Then Print"OK"Else Print"Error"  If Fix(=x And x>=100 And x<=-100 Then Print "OK" Else Print "Error"  

热门试题

更多