by Anonymous (267 Submissions)
Category: Miscellaneous
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Fri 30th May 2008
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Determining the final values of a, b, and c.
a = 2
b = 4
c = 10
while c > 6
perform changeBAndC()
endwhile
if a = 2 then
perform changeAAndB()
endif
if c = 10 then
perform changeAAndB()
else
perform changeBAndC()
endif
print a, b, c
stop
changeBAndC()
b = b + 1
c = c - 1
return
changeAAndB()
a = a + 1
b = b - 1
return