自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 高级排序

Option Base 1Private Sub Command1_Click()ClsDim n As IntegerDim size As Integersize = Int(Val(Me.Text1.Text))Dim wzs() As IntegerReDim wzs(size)n = LBound(wzs)While n wzs(n) = In

2016-05-12 18:12:55 197

原创 选择法

Private Sub Command1_Click()Dim a(10) As IntegerDim i As IntegerDim j As IntegerFor i = 1 To 10a(i) = 10 + Int(Rnd() * 1000)Print a(i);Next iPrintFor i = 1 To 9For j = 1 To 10 - i

2016-05-12 18:12:13 153

原创 冒泡

Private Sub Command1_Click()Dim a(10) As IntegerDim i As IntegerDim j As IntegerFor i = 1 To 10a(i) = 10 + Int(Rnd() * 1000)Print a(i);Next iPrintFor i = 1 To 9For j = 1 To 10 - i

2016-05-12 18:11:11 301

原创 作业

Private Type studentname As String * 3stuNo As String * 11sex As Booleanage As Byteprof As String * 2grade As SingleEnd TypePrivate Sub Command1_Click()Dim qizhenhao As studentqizh

2016-05-12 18:09:57 227

原创 230转化成二进制

Private Sub Command1_Click()Me.Font.Size = 30Print erjinzhi(230)End SubPrivate Function erjinzhi(m As Byte) As StringDim n As Byten = mConst er As Byte = 16Dim returns As StringDim s

2016-04-28 17:40:15 692

原创 15电气1班麻天骄

Option Base 1Private Sub Command1_Click()     Me.Font.Size = 70    Dim n1() As Byte, n1Len As Long    Dim n2() As Byte, n2Len As Long    Dim yushu1 As Byte, yushu2 As Byte    Dim shang A

2016-04-21 17:41:09 196

原创 15电气1班麻天骄

Option Base 1Private Sub Command1_Click()     Me.Font.Size = 70    Dim n1() As Byte, n1Len As Long    Dim n2() As Byte, n2Len As Long    Dim yushu1 As Byte, yushu2 As Byte, yushu3 As Integ

2016-04-21 17:40:34 510

原创 15电气1班麻天骄

Private Sub Command1_Click()Dim c As ByteDim a() As ByteDim b As StringDim changdu As Integer, i As Longchangdu = Len(Text1.Text)ReDim a(changdu)For i = 1 To changdub = Mid(Me.Text1.

2016-04-21 17:30:18 222

原创 15电气1班麻天骄

a b c 排序作业ClsDim b As Integer, c As IntegerDim d As Integerc = Int(Rnd() * 1000)b = Int(Rnd() * 1000)Print "b" & bPrint "c" & cd = cc = bb = dPrint "b" & bPrint "c" & c

2016-03-31 17:46:43 262

原创 15电气1班麻天骄

红糖水白糖水作业Private Sub Command1_Click()Dim a As Stringa = Me.Label1.CaptionMe.Label1.Caption = Me.Label2.CaptionMe.Label2.Caption = aDim b As Stringb = Me.Label1.ForeColor Me.Label1.ForeC

2016-03-31 17:45:46 378

原创 15电气1班麻天骄

高级排序作业Option Base 1Private Sub Command1_Click()ClsDim n As IntegerDim size As Integersize = Int(Val(Me.Text1.Text))Dim wzs() As IntegerReDim wzs(size)n = LBound(wzs)While

2016-03-31 17:43:30 502

原创 15电气1班麻天骄作业

Private Sub Command1_Click()Dim a As IntegerDim b As Integera = Int(Rnd * 1000)b = Int(Rnd * 1000)If a  Me.Text1.Text = "aElseIf a = b Then Me.Text1.Text = "a=b"ElseMe.Text1.Text

2016-03-31 17:42:03 530

原创 15电气1班麻天骄作业

把最小数放到最后的作业Private Sub Command1_Click()ClsDim n As IntegerDim wzs(10) As IntegerDim swap As Integern = 1While n wzs(n) = Int(Rnd * 1000)n = n + 1Wendn = 1While n If wzs(n

2016-03-31 17:40:07 220

原创 15电气1班麻天骄作业

生成10个数作业Private Sub Command1_Click()ClsDim n As IntegerDim wzs(10) As Integern = 1While n wzs(n) = Int(Rnd * 1000)n = n + 1Wendn = 1While n Print wzs(n)n = n + 1WendEnd S

2016-03-31 17:38:30 274

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除