VB程序,简单点

[复制链接]
查看11 | 回复2 | 2009-6-26 10:26:59 | 显示全部楼层 |阅读模式
dim s1,s2 as singledim lev as integerdim pin as stringdim sum as singles1=inputbox("数学考试分数")s2=inputbox("计算机考试分数")lev=inputbox("外语考试等级")pin=inputbox("外语考试成绩")if lev=6 and pin="优秀" then sum=s1+s2+15if lev=6 and pin="通过" then sum=s1+s2+8if lev=4 and pin="合格" then sum=s1+s2+6print "考试总分=" & sum...
回复

使用道具 举报

千问 | 2009-6-26 10:26:59 | 显示全部楼层
这也要人教……?...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行