[填空題] 下列事件過程的功能是:建立一個名為Datal的隨機文件,存放角度值及這些角度的正弦函數(shù)值和余弦函數(shù)值,角度為1,2,3,…,90。請在空白處填入適當
2021-07-20
[填空題] 下列事件過程的功能是:建立一個名為Datal的隨機文件,存放角度值及這些角度的正弦函數(shù)值和余弦函數(shù)值,角度為1,2,3,…,90。請在空白處填入適當?shù)膬?nèi)容,將程序補充完整。
Private Type Ang
K As Integer
Sinx As Single
Cosx As Single
End Type
Dim Ksc As Ang
Private Sub Form_Click()
Dim Y As Single
Open (14)
Y=3.14159/180
For i=1 TO 90
Ksc.K=i
Ksc.Sinx=Sin(i*Y)
Ksc.Cosx=Cos(i*Y)
(15)
Next i
Close#2
End Sub
"C:Data1.txt"For Random As #2 ken=10
詞條內(nèi)容僅供參考,如果您需要解決具體問題
(尤其在法律、醫(yī)學(xué)等領(lǐng)域),建議您咨詢相關(guān)領(lǐng)域?qū)I(yè)人士。