vb计算二次函数就随便算个y=x^2+4x+4 怎么写
问题描述:
vb计算二次函数
就随便算个y=x^2+4x+4 怎么写
答
Dim X As Integer
Dim Y As Integer
For X=1 To 10
Y=X * X + 4 * X + 4
Print "X:" & X
Print "Y:" & Y
Next