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

学习 时间:2026-08-12 09:04:24 阅读:4861
VB试题:编写函数fun,函数的功能是:求I 到a之间的偶数之积

最佳回答

成就的乌冬面

美满的万宝路

2026-08-12 09:04:24

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-08-12 09:04:24

    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是什么意思?

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