早教吧作业答案频道 -->其他-->
PrivateSubFormclick()DimaAsInteger,bAsInteger,cAsInteger,kAsInteger.PrivateSubFormclick()DimaAsInteger,bAsInteger,cAsInteger,kAsIntegerOpen"c:\file1.dat"ForOutputAs#1a=3:b=5Print#1,"NO.";1,a
题目详情
Private Sub Form_click() Dim a As Integer, b As Integer, c As Integer, k As Integer
.Private Sub Form_click()
Dim a As Integer, b As Integer, c As Integer, k As Integer
Open "c:\file1.dat" For Output As #1
a=3 : b=5
Print #1,"NO." ; 1, a
Print #1,"NO." ; 2, b
For k=3 To 5
c=b-a
Print #1,"NO."; k, c
b =a
a=c
Next k
Close #1
End Sub 写出文件file1.dat的最终结果______【2】_____。
.Private Sub Form_click()
Dim a As Integer, b As Integer, c As Integer, k As Integer
Open "c:\file1.dat" For Output As #1
a=3 : b=5
Print #1,"NO." ; 1, a
Print #1,"NO." ; 2, b
For k=3 To 5
c=b-a
Print #1,"NO."; k, c
b =a
a=c
Next k
Close #1
End Sub 写出文件file1.dat的最终结果______【2】_____。
▼优质解答
答案和解析
NO. 1 3
NO. 2 5 NO. 3 2 NO. 4 1 NO. 5 1
NO. 2 5 NO. 3 2 NO. 4 1 NO. 5 1
看了PrivateSubFormc...的网友还看了以下:
已知下列命题:①若R,且kb=0,则k=-0或b=0;②若a·b=0,则a=0或b=0;③若不平行 2020-04-08 …
已知:a‖b‖c,a∩l=A,b∩l=B,c∩l=C.求证a,b,c,与l共面 2020-06-12 …
设f(x)于[a,b]L-可积,若对任意的C∈[a,b],有∫[a,b]f(x)dx=0,则f(x 2020-06-14 …
请从B栏中找出A栏中各句的答语。AB1.What'syourfirstname?A.T-A-B-L 2020-07-11 …
已知两个不同的平面α,β,三条不同的直线a,b,l,且a包含于α,b包含于β,α∩β=l,试判断: 2020-07-26 …
已知:a‖b‖c,a∩l=A,b∩l=B,c∩l=C.求证a,b,c,与l共面 2020-07-29 …
已知:a∩b∩c=D,a∩l=A,b∩l=B,c∩l=C,求:a,b,c,l共面 2020-07-29 …
f(x)在[a,b]l连续,且∫f(x)dx=0(从a到b),则∫[f(x)]^2dx(从a到b) 2020-07-31 …
以知产量方程求边际产量的问题以知等产量方程,怎么求边际产量的问题?Q=K^a*L^b书上求出得L边际 2020-12-12 …
英语对话求解!A:Hi,tom.?B:l'mgoingtothegym.A:?B:l'mgoingt 2021-01-06 …