题目
VB试题:编写函数fun,函数的功能是:求I 到a之间的偶数之积
提问时间:2021-01-02
答案
Private Sub fun()
if i mod 2 = 0 then
for x=i to a step 2
s=s*x
next x
else
for x=(i+1) to a step 2 then
s=s*x
next x
end if
试试看行不行吧
if i mod 2 = 0 then
for x=i to a step 2
s=s*x
next x
else
for x=(i+1) to a step 2 then
s=s*x
next x
end if
试试看行不行吧
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
- 1求y=e^arctan(1/x)的导数
- 2Can he play []table tennis?A、an B、/C、the D、a
- 3一台电冰箱近似长方体,棱长之和是108dm.长、宽、搞的比是2:2:5.这台电冰箱的体
- 4the book is mine(对画线部分the book提问)
- 50.94×10^3kg/m^3=_____g/cm^3
- 6蜀相中“三顾频烦天下计,两朝开济老臣心”
- 7I have lots of books_____(read)today.
- 8作文《我的读书方法》
- 9初中英语改为被动语态.
- 10I remember seeing the man___in the street last week A.sometime B.some times C.sometimes .D.any time
热门考点
- 1有没有一首诗词里有汐和若两个字的、、音同字不同的也可以
- 2Can you see ten big lions at the zoo?(作否定回答)
- 3通风机静压的物理意义
- 4观察下列由棱长为1小立方体摆成的图形,寻找规律:如图①中:共有1个小立方体,其中1个看得见,0个看不见;如图②中:共有8个小立方体,其中7个看得见,1个看不见;如图③中:共有27
- 5文言文翻译_孔子曰到则施也
- 6比45千克多三分之一千克是多少
- 7Every year the old man takes many (photo) in Shanghai.括号中的词用什么形式?
- 8不等式-x2+(1/a+a)x-1>0的解集是?(14 19:16:56)
- 9以s开头的动词
- 10英语翻译