若一个矩形的长为2a厘米,宽为2b厘米,则矩形的周长为______厘米.
2×(2a+2b),
=(4a+4b)厘米.
故答案为:(4a+4b)
假定在工程文件中有一个标准模块,其中定义了如下记录类型: Type BooksName As String*10TelNum As String*20 End Type 要求当执行事件过程Command1_Click时,在顺序文件Person. txt中写入一条记录。下列能够完成该操作的事件过程是______。
A.Private Sub Command1_Click() Dim B As Books Open"c:\Perso txt" For Output As #1Name=InputBox("输入姓名")TelNum=InputBox("输入电话号码") Write #1, Name, TelNum Close #1 End Sub
B.Private Sub Command1_Click() Dim B As Books Open"c:\Person txt" For Output As #1Name=InputBox("输入姓名")TelNum=InputBox("输入电话导码") Print #1, Name, TelNum Close #1 End Sub
C.Private Sub Command1_Click() Dim B As Books Open"c:\Perso txt" For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Print #1, B Close #1 End Sub
D.Private Sub Command1_Click() Dim B As Books Open "c:\Person txt" For Output As #1 Name=InputBox("输入姓名") TelNum=InputBox("输入电话号码") Print #1, B Name, TelNum Close #1 End Sub
发现油气显示是否需要向井队预报?