Din A as Integer A=20 :B=30 C=A+B Msgbox C 运行程序后,C值为?请说明一下.那:Din I As IntegerS=5 For I = 1 To 10 step 2S=S+INext IMsgbox SMsgBox结果是?
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/05 19:45:14
Din A as Integer A=20 :B=30 C=A+B Msgbox C 运行程序后,C值为?请说明一下.那:Din I As IntegerS=5 For I = 1 To 10 step 2S=S+INext IMsgbox SMsgBox结果是?
Din A as Integer A=20 :B=30 C=A+B Msgbox C 运行程序后,C值为?请说明一下.
那:Din I As Integer
S=5
For I = 1 To 10 step 2
S=S+I
Next I
Msgbox S
MsgBox结果是?
Din A as Integer A=20 :B=30 C=A+B Msgbox C 运行程序后,C值为?请说明一下.那:Din I As IntegerS=5 For I = 1 To 10 step 2S=S+INext IMsgbox SMsgBox结果是?
Din A as Integer
A=20
B=30
C=A+B
Msgbox C
50啊.
Function hw(m As Long) As Boolean Dim a As Integer,b As Integer,c As Integer,d As Integer a = LeFunction hw(m As Long) As BooleanDim a As Integer,b As Integer,c As Integer,d As Integera = Left(m,1):b = Mid(m,2,1)c = _____________________d = _________
Din A as Integer A=20 :B=30 C=A+B Msgbox C 运行程序后,C值为?请说明一下.那:Din I As IntegerS=5 For I = 1 To 10 step 2S=S+INext IMsgbox SMsgBox结果是?
Private Sub Form_Click() Dim a As Integer,b As Integer,k As Integer a = 2 b = 4 k = fun((a),b)+fPrivate Sub Form_Click()Dim a As Integer,b As Integer,k As Integera = 2b = 4k = fun((a),b)+fun(a,b)Print kEnd SubPrivate Function fun(n As Integer,m As In
Private Function p1(x As Integer,y As Integer,z As Integer)p1 = 2 * x + y + 3 * zEnd FunctionPrivate Function p2(x As Integer,y As Integer,z As Integer)p2 = p1(z,y,x) + xEnd FunctionPrivate Sub Command1_Click()Dim a As IntegerDim b As IntegerDim c As
Dim a(1 To 10) As Integer Dim i As Integer a(1) = 1 For i = 2 To 10 a(i) = a
Dim a(9) As Integer,x As Integer,k As Integer,I As Integer RandomizeDo While I
帮忙VB试题我怎么想都算不对Private Sub Command1_Click()Dim a As Integer,b As Integer,c As Integera = 5b = 3c = 4Print SecProc(a ,b ,c)End SubFunction FirProc(x As Integer,Y As Integer,z As Integer)FirProc = 2 * x + y + 3 * zEnd FunctionFun
vb程序Dim a(1 To 20) As Integer,i As Integer,j As IntegerDim a(1 To 20) As Integer,i As Integer,j As IntegerPrivate Sub Command1_Click()Dim a(1 To 20) As IntegerFor j = 1 To 2For i = 1 To 10a(i) = Int(Rnd * 21) + 20Text1 = Text1 & Str(a(i))Next iTe
Function Fun(a() As Integer)是什么意思?
vb程序改错 求解一元二次方程(ax^2+bx+c=0)的程序求解一元二次方程(ax^2+bx+c=0)的程序Private Sub Command1_Click()Dim a As Integer,b As Integer,c As Integer,d As IntegerDim x1 As Single,x2 As SingleInputBox (a=)InputBox
dim a(3,2) as integer a(3,2)啥意思a(j,i)呢
分,共12分.) 一个自然数倒过来读仍是这个数,就叫回文数,有些回文数还是素数,就叫回文式素数,如9323Function hw(m As Long) As BooleanDim a As Integer,b As Integer,c As Integer,d As Integera = Left(m,1):b = Mid(m,2,1)c
删除一个数列中的重复数Option ExplicitOption Base 1Dim A() As Integer '定义了一个模块级的动态数组Private Sub Command1_Click() Dim N As Integer, I As Integer Text1 = Text2 = N = Inpu
Function fun(a As Integer,n As Integer) As IntegerDim m As IntegerWhile a >= na = a - nm = m + 1Wendfun = mEnd Function该函数的返回值是__能给说明白点原因吗?
VB 使显示每行的最大值的位置(下面的程序可以把最大值找出)Private Sub cmdbegin_Click() Dim a(4,3) As Integer,i As Integer,j As Integer Dim max As Integer For i = 1 To 4 For j = 1 To 3 a(i,j) = InputBox(请输入矩阵的第
定义函数的第一行语句function f1(a(5) as integer)as integer哪里错了
已知函数sum(k,n)=1^k+2^k+3^k…+n^k.计算当k=2,n=5时的结果.Private Function Power(a As Integer,b As Integer) As LongDim i As Integer,t As Longt = 1For i = 1 To a#####[1]##### '第1空Next i#####[2]##### '第2空End FunctionPrivate Funct
vb中判断语句 If A(i,j) =0 Then A(i,j)=k,其中动态数组A()被赋值为0,option base1dim A() as integerprivate sub command1_click()dim i as integer ,j as integer ,k as integerdim n as integern=3redim A(n,n)i=1:j=(n+1)/2k=1A(i,j)=k ________