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

学习 时间:2026-09-26 13:10:09 阅读:7279
VB试题:编写函数fun,函数的功能是:求I 到a之间的偶数之积

最佳回答

优雅的航空

高贵的小蝴蝶

2026-09-26 13:10:09

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-09-26 13:10:09

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

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