Write Your First Visual Basic Program

Lesson 2
Tutorials - Page - Page 2 - Page 3 - Page 4 - Page 5 - Page 6 - Page 7 - Page 8 - Page 9 - Page 10 - Page 11 - Page 12 - Page 13

Working With Integers (Continue)
Question: What will be printed on the form
after executing the following code:

Dim Blah As Integer
Blah = 2
Print 2 + 3
Print "2 + 3"
Print Blah + 3
Print Blah
Blah = Blah + 1
Print Blah
Blah = Blah + Blah
Print Blah



The Answer can be found in the next page...

Back  Forward