VB试题:编写函数fun,函数的功能是:求I 到a之间的偶数之积

学习 时间:2026-03-30 10:47:10 阅读:6300
VB试题:编写函数fun,函数的功能是:求I 到a之间的偶数之积

最佳回答

大意的跳跳糖

美满的荷花

2026-03-30 10:47:10

Private Sub fun()if i mod 2 = 0 then for x=i to a step 2 s=s*x next xelse for x=(i+1) to a step 2 then s=s*x next xend if 试试看行不行吧

最新回答共有2条回答

  • 还单身的向日葵
    回复
    2026-03-30 10:47:10

    Private Sub fun()if i mod 2 = 0 then for x=i to a step 2 s=s*x next xelse for x=(i+1) to a step 2 then s=s*x next xend if 试试看行不行吧

上一篇 make a noise是什么意思?

下一篇 跨越百年的美丽中的美丽指哪几方面