题目
用vb语言:求一组数的最大值最小值中位数和众数
提问时间:2021-03-29
答案
如果给定了一组数,假如为12 15 6 13 35 42 21 9 求最大值最小值如下:
private sub command1_()
dim a(7) as integer
min=12
max=12
for i = 1 to 7
if a(i) 〉 max then
max = a(i)
elseif a(i)
private sub command1_()
dim a(7) as integer
min=12
max=12
for i = 1 to 7
if a(i) 〉 max then
max = a(i)
elseif a(i)
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
热门考点
- 1设函数 f(x)=sin(2x+y),(-π
- 2怎样教改写拟人句?
- 3could you tell me____,please?A.how to do,B.what to do,C.how do it,D.what do it
- 4音标中的字母组合分别是什么?
- 5They always go down the stairs quick 修改病句
- 6设Sn是等差数列(An)的前n项和,若S3/S6=1/3,求S6/S12=?
- 7左边一个女字 右边一个娄字 这个字是什么字啊
- 8一个质量为0.25Kg的玻璃瓶,盛满水时称得质量是1.5Kg,则这玻璃瓶容积是多少L?它能装多少Kg的酒精?
- 9红磷燃烧试验中,为什么进入集气瓶中水的体积等于消耗氧气的体积?
- 10My parents __me to go back for the celebration.A.hope/B.wish哪个正确?为什么?