二级二级VB2014年全国计算机等级《二级VB》上机考试冲刺试题(4)
题目内容

函数值和余弦函数值,角度为1,2,3,…,90。请在空白处填入适当的内容,将程序补充完整。Private Type AngK As IntegerSi nx As Si ngleCosx As Si ngleEnd TypePrivate Sub Form_Click()Di m Y As Si ngleDi mi As IntegerDi m Ksc As AngOpen ____________Y =3.14159/180For i =1To 90Ksc .K =iKsc .Si nx=Si n(i*Y)Ksc .Cosx=Cos(i +Y)________Next iClose #2Elld Stub

2024-07-09

A."..\Datal .txt"For Rando mAs #1Len =10 Put #1,i ,Ksc

B."..\Datal .txt"For Rando m As #1Len =10 Put #1,Y ,Ksc

C."..\Datal .txt"For Rando m As #1 Put #1,i ,Ksc

D."..\Datal .txt"For Rando m As #1 Put #1,Y ,Ksc

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端