窗体

一个窗体单击事件过程如下:Private Sub Form_Click()   Dim n As Integer, x As String   x =""   For n = 0 To 2     x = x + Chr(Asc("A") + n * 2)   Next n   Print xEnd Sub试问:当单击窗体后,输出为[______]。

一个窗体单击事件过程如下:Private Sub Form_Click()   Dim n As Integer, x As String   x =""   For n = 0 To 2     x = x + Chr(Asc("A") + n * 2)   Next n   Print xEnd Sub试问:当单击窗体后,输出为[______]。ACE

Private Sub Form_Click() 窗体上单击后,显示结果为:a=85Select case aCase  Is> =60   I=“及格”Case  Is> =70   I=“中“Case  Is> =80   I=“良”Case  else   I=“优”End SelectPrint IEnd Sub

Private Sub Form_Click() 窗体上单击后,显示结果为:a=85Select case aCase  Is> =60   I=“及格”Case  Is> =70   I=“中“Case  Is> =80   I=“良”Case  else   I=“优”End SelectPrint IEnd Sub及格

一个窗体单击事件过程如下:Private Sub Form_Click()  Dim a As Integer, b As Integer, c As Integer  a = 6 : b = 15  c = a * b  If a > b Then     a = a - b  Else     b = b - a  End If  Print a, b, c / bEnd Sub试问:当单击窗体后,输出为___________。

一个窗体单击事件过程如下:Private Sub Form_Click()  Dim a As Integer, b As Integer, c As Integer  a = 6 : b = 15  c = a * b  If a > b Then     a = a - b  Else     b = b - a  End If  Print a, b, c / bEnd Sub试问:当

勾股定理中三个数的关系是:a2+b2=c2,编写程序,输出1到30以内满足上述关系的整数组合,打印在窗体上,例如3,4,5就是这样一个整数组合。

勾股定理中三个数的关系是:a2+b2=c2,编写程序,输出1到30以内满足上述关系的整数组合,打印在窗体上,例如3,4,5就是这样一个整数组合。Private Sub Form_Click()For a = 1 To 30  For b = 1 To 30    For c = 1 To 30      If a ^ 2 + b ^ 2 = c ^ 2 Then        Print a; b