如下事件过程: Function Feed(x) If x <10 Then Feed=X Else Feed=10+x End If End Function Private Sub Command1_Click( ) x=Val(Input Box(" ",0)) pay=Feed(x) Print pay End Sub 运行时在输入框内输入变量x的值为15,输出结果为A.0B.15C.25D.30
如下事件过程: Function Feed(x) If x <10 Then Feed=X Else Feed=10+x End If End Function Private Sub Command1_Click( ) x=Val(Input Box(" ",0)) pay=Feed(x) Print pay End Sub 运行时在输入框内输入变量x的值为15,输出结果为
A.0
B.15
C.25
D.30
相关考题:
如下事件过程:Function Feed(x)If x 10 ThenFeed=xElseFeed=10 + xEnd IfEnd FunctionPrivate Sub Command1_Click()x=Val(InputBox( "", , 0) )pay=Feed(x)Print payEnd Sub运行时在输入框内输入变量x的值为15,输出结果为( )。A.0B.15C.25D.30
The police caught a young couple trying to ___ a huge quantity of heroin from somewhere in the Mediterranean. A、exportB、relateC、importD、feed
The fuel supply system to an automatic auxiliary boiler, will be automatically shutdown if the boiler() A.salinity is abnormallyB.high steam demand is tooC.feed-water flow is lowD.water level is abnormally low
整型变量x中存放了一个两位数,要将这个两位数的个位数字和十位数字交换位置,例如,25变成52,正确的python表达式为()。A.(x % 10) * 10 + x // 10B.(x % 10)//10 + x // 10C.(x / 10)% 10 + x // 10D.(x % 10) * 10 + x % 10
动物的食物(diet)称为饲料(feed)。