蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 Visual Basic 程序设计教程(第四版) 主编 蒋加伏 张林峰 找了好久的(不带密码的)

源代码在线查看: form1.frm

软件大小: 6782 K
上传用户: pipinooad
关键词: Visual Basic VB程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				VERSION 5.00
				Begin VB.Form Form1 
				   Caption         =   "例[5-11] 计算父女的年龄"
				   ClientHeight    =   810
				   ClientLeft      =   60
				   ClientTop       =   345
				   ClientWidth     =   4230
				   BeginProperty Font 
				      Name            =   "楷体_GB2312"
				      Size            =   12
				      Charset         =   134
				      Weight          =   400
				      Underline       =   0   'False
				      Italic          =   0   'False
				      Strikethrough   =   0   'False
				   EndProperty
				   LinkTopic       =   "Form1"
				   ScaleHeight     =   810
				   ScaleWidth      =   4230
				   StartUpPosition =   3  '窗口缺省
				End
				Attribute VB_Name = "Form1"
				Attribute VB_GlobalNameSpace = False
				Attribute VB_Creatable = False
				Attribute VB_PredeclaredId = True
				Attribute VB_Exposed = False
				Private Sub Form_Click()
				Dim age As Integer
				age = 12
				While age * 2  age + 30
				age = age + 1
				Wend
				Print "经过"; age - 12; " 年":
				Print "小红父女的年龄分别是:"; age + 30; "和"; age
				End Sub
				
							

相关资源