课堂练习:变量赋值与计算.pdf

课堂练习

1.阅读下列程序,计算变量a,b值:

(1)DimaAsInteger

DimbAsInteger

a3

2

b

aa+a/b*b

bamodb

a的值为6

b的值为1

(2)

文档评论(0)

1亿VIP精品文档

相关文档