22智能在线
新记
vb 编写一个标准模块,该模块包含一个能比较3个数大小和送回大数的SUB过程。调用该过程来求6个数的最大数。
最好能告诉具体的步骤该怎样做,谢谢哦
举报该文章
相关建议 2012-06-05
比较3个数大小了过程用来求6个数的最大值??
返回值的是FUNCTION,不是SUB
private function max3(a as integer ,b as integer,c as integer) as integer
dim max as integer
if a>b then
max=a
else
max=b
end if
if c> max then max=c
max3=max
end function
温馨提示:内容为网友见解,仅供参考
当前网址:
https://22.t2y.org/zz/i0cit2t2s.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
VB中窗体和模块有什么区别?模块是做什么用的?那模块和类模块...
VB全局调用过程提示没有对象,标准模块 ,标准模块写过程是不...
EXCEL的VB代码中"插入模块"与"插入类模块"有什么区别
一个VB应用程序至少应该包含一个() A标准模块 B
vb中,什么是标准模块,他和窗体模块有什么区
VB中标准模块的使用方法?
请问如何在VB中创建“标准模块”?它到底是个看不见的概念还是...
VB 模块的作用