大学VB ,, VB编程题, VB高手帮帮学弟,我很努力 希望可以详细写出步骤,最好写在纸上,严格

2025-05-20 05:52:57
推荐回答(1个)
回答1:

实现这个功能的VB代码如下:
Private Sub Command1_Click()
x = Val(InputBox("x="))
Print Format(x * x, "0.000"), Format(Sqr(x), "0.000")
End Sub