【单选题】在窗体上画一个命令按钮,名称为Command1。然后编写如下程序: Private Sub Command1_Click() Dim a As Integer,b As Integer,c As Integer If a=0 Then x=x-1 Else If b<>0 Then End If End If If c<>0 Then x=3 Else x=4 End If Print x End...
【简答题】If A=[-34,4,0],then min(A)=(_);
【简答题】设有一个一维数组a保存了10根钢筋的长度(分别是:5、14、2、6、15、20、4、34、7、10),从中选3根围成一个面积最大的三角形,并输出3根钢筋的长度和围成三角形的面积。 Private Sub Form_Click() Dim i%, j%, k%, s!, d!, m!, x%, y%, z% a = Array(5, 14, 2, 6, 15, 20, 4, 34, 7, 10) F...
【单选题】在窗体上画一个命令按钮,名称为Command1。然后编写如下程序: Private Sub Command1_Click() Dim a As Integer,b As Integer,c As Integer If a=0 Then x=x-1 Else If b<>0 Then End If End If If c<>0 Then x=3 Else x=4 End If Print x End...
【简答题】设有一个一维数组a保存了10根钢筋的长度(分别是:5、14、2、6、15、20、4、34、7、10),从中选3根围成一个面积最大的三角形,并输出3根钢筋的长度和围成三角形的面积。 Private Sub Form_Click() Dim i%, j%, k%, s!, d!, m!, x%, y%, z% a = Array(5, 14, 2, 6, 15, 20, 4, 34, 7, 10) F...