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

10 lines
133 B
Plaintext
Raw Normal View History

2022-04-10 15:55:56 +02:00
// check parsing of do-while loop
func main()
begin
var i
i := 2
while i < 9000 do
i := i * i
print i
end