已知程序如下:Private Sub s(x As Single, y As Single) Dim m As Single m = x x = m / y y = t Mod yEnd SubPrivate Sub Command1_Click() Dim a As Single, b As Single a = 8 b = 5 Call s(a, b) Print a, bEnd Sub试问:当单击命令按钮后,输出为[______]。
一个窗体单击事件过程如下: Private Sub Form_Click() x = Int(Rnd) + 10 If x * x > 10 Then y = x + 1 If x * x = 8 Then y = x * x If x * x < 10 Then y = x * x + 5 Print yEnd Sub试问:当单击窗体后,输出为___________。
已知程序如下:Private Sub p() Static s As Integer Dim i As Integer For i = 1 To 10 Step 2 s = s + i Next i Print s;End SubPrivate Sub Command1_Click() Call pEnd Sub试问:当三次单击命令按钮后,输出为[______]。
一个窗体单击事件过程如下: Private Sub Form_Click() Dim a As Integer, b As Integer, c As Integer a = 6 : b = 15 c = a * b If a > b Then a = a - b Else b = b - a End If Print a, b, c / bEnd Sub试问:当单击窗体后,输出为___________。
Private Sub Form_Click() 窗体上单击后,显示结果为:a=85Select case aCase Is> =60 I=“及格”Case Is> =70 I=“中“Case Is> =80 I=“良”Case else I=“优”End SelectPrint IEnd Sub
假定某日上海外汇市场上,美元兑人民币的即期汇率USD1=RMB6.5000,6个月的远期汇率为USD1=RMB7.000,某中国进口商需在6个月后对外支付200万美元的货款,该进口商估计6个月后市场的即期汇率为USD1=RMB7.5000。 从持有外汇头寸是多头还是空头考虑,该中国进口商面临着6个月期的200万美元的____________。