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

学习 时间:2026-05-30 11:58:31 阅读:5884
VB试题:编写函数fun,函数的功能是:求I 到a之间的偶数之积

最佳回答

默默的眼神

愤怒的枕头

2026-05-30 11:58:31

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-05-30 11:58:31

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

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