如下事件过程: 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 Then Feed=X Else Feed=10+x End I ”相关问题
  • 第1题:

    The fuel supply system to an automatic auxiliary boiler, will be automatically shutdown if the boiler()

    A.salinity is abnormally

    B.high steam demand is too

    C.feed-water flow is low

    D.water level is abnormally low


    答案:D

  • 第2题:

    feed_dict参数用于传递()定义的变量

    A.constant

    B.Variable

    C.assign

    D.placeholder


    placeholder

  • 第3题:

    动物的食物(diet)称为饲料(feed)。


    膳食营养素参考摄入量

  • 第4题:

    整型变量x中存放了一个两位数,要将这个两位数的个位数字和十位数字交换位置,例如,25变成52,正确的python表达式为()。

    A.(x % 10) * 10 + x // 10

    B.(x % 10)//10 + x // 10

    C.(x / 10)% 10 + x // 10

    D.(x % 10) * 10 + x % 10


    (x Mod 10)*10 +x\10

  • 第5题:

    请选出下列单词中划线部分发音不是/i:/的单词选项。

    A.believe

    B.bread

    C.these

    D.feed


    miss