[填空題] 下列事件過程的功能是:在C盤根目錄下,建立一個(gè)名為Data1的隨機(jī)文件,存放角度值及這些角度的正弦函數(shù)值和余弦函數(shù)值,角度為1,2,3,…,90。請(qǐng)
2021-07-20
[填空題] 下列事件過程的功能是:在C盤根目錄下,建立一個(gè)名為Data1的隨機(jī)文件,存放角度值及這些角度的正弦函數(shù)值和余弦函數(shù)值,角度為1,2,3,…,90。請(qǐng)?jiān)诳瞻滋幪钊脒m當(dāng)?shù)膬?nèi)容,將程序補(bǔ)充完整。
Private Type Ang
K As Integer
Sinx As Single
Cosx As Single
End Type
Dim Ksc As Ang
Ptivate Sub Form_Click()
DimY 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:Datal.txt"For Random As #2 Len=10
詞條內(nèi)容僅供參考,如果您需要解決具體問題
(尤其在法律、醫(yī)學(xué)等領(lǐng)域),建議您咨詢相關(guān)領(lǐng)域?qū)I(yè)人士。