|
|
|
|
|
|
|
|
|
|
Mini-Exercise
#3 -- Answer
|
|
|
|
|
|
|
v |
What
does the program print?
|
|
|
|
|
|
|
|
|
x = 10
|
|
Call
squid(x+5)
|
|
Print
x
|
|
|
Private
Sub squid(y As Integer)
|
y = 20
|
|
End
Sub
|
|
|
|
|
|
|
|
Who knows! Who cares! This is an evil program!
|
|
|
(Well, OK, in our
version of VB it prints 10. There
won’t be a
|
question like
this on any of our quizzes or final though.)
|
|
|
|
|