s=a/(1+a+a^2)+b/(1+b+b^2)+c/(1+c+c^2) 用SUB过程写
来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 15:18:10
x)+M0NN3N@d;Y;Vx>eEpӋWt?miTON;Jl
.MR(.HII)ք8EV!QA_APA 8
I0$0&D$
65/EhPYX
+8&;d&gk@'-5J&V@,ꜘ@t
b[@! :-xo
s=a/(1+a+a^2)+b/(1+b+b^2)+c/(1+c+c^2) 用SUB过程写
s=a/(1+a+a^2)+b/(1+b+b^2)+c/(1+c+c^2) 用SUB过程写
s=a/(1+a+a^2)+b/(1+b+b^2)+c/(1+c+c^2) 用SUB过程写
Sub sum(a,b,c,s)
s = a / (1 + a + a ^ 2) + b / (1 + b + b ^ 2) + c / (1 + c + c ^ 2)
End Sub
Private Sub Command1_Click()
a = 3:b = 4:c = 5
Call sum(a,b,c,s)
MsgBox s
End Sub