Private Sub Command1_Click() Call calc (HV. Value, HT. Value) End Sub Public Sub calc(x As Integer, y As Integer) Text1. Text = x * y End Sub 运行程序,单击“计算”按钮,可根据速度与时间计算出距离,并显示计算结果。 对以上程序,下列叙述中正确的是( )。
A) 过程调用语句不对,应为cale(HV,HT) B) 过程定义语句的形式参数不对,应为Sub calc(x As Control, y As Control) C) 计算结果在文本框中显示出来 D) 程序不能正确运行