TDT4205/exercises/06/vslc/vsl_programs/ps2-parser/while.vsl

10 lines
133 B
Plaintext

// check parsing of do-while loop
func main()
begin
var i
i := 2
while i < 9000 do
i := i * i
print i
end