填空题

以下语句输出结果是 _________。Print Int(12345.6789 * 100 + 0.5) / 100

【参考答案】

12345.68
<上一题 目录 下一题>
热门 试题

填空题
下面是用冒泡法将5个整数按升序排列,请将程序补充完整。Sub GASR()Dim mm=Array(10,1,5,6,7)For i=0 To 3For j=【 】 If m(i) >=m(j) Then【 】 m(i) =m(j)m(j) =tEnd IfNext j【 】 For i=0 To 4Print m(i)Next iEnd Sub
填空题
下面程序是由鼠标事件在窗体上画图,如果按下鼠标将可以画图,双击窗体可以清除所画图形。补充完整下面的程序。首先在窗体层定义如下变量:Dim PaintStart As Boolean编写如下事件过程:Private Sub Form_Load()DrawWidth=2ForeColor=vbGreenEnd SubPrivate Sub Form_MouseDown(Button As Integer,Shift As Integer,_X As Single,Y As Single)【 】 End SubPrivate Sub Form_MouseMove(Button As Integer,Shift As Integer,_X As Single,Y As Single)If PaintStart ThenPSet(X,Y)End IfEnd SubPrivate Sub Form_MouseUp(Button As Integer,Shift As Integer,_X As Single,Y As Single)【 】 End SubPrivate Sub Form_Db1Click()【 】 End Sub
相关试题
  • 每一个窗体或者控件都有一个名字,为提高程...
  • 在窗体上有几个对象,运行程序时,当对象得...
  • 在文件对话框中,假定有一个名为 fc.exe...
  • 下面程序的功能是统计字符串中“广的个数,...
  • 窗体上有两个按钮,则执行程序后按键盘Canc...