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

10 lines
133 B
Plaintext
Raw Normal View History

2022-02-13 17:40:20 +01:00
// check parsing of do-while loop
func main()
begin
var i
i := 2
while i < 9000 do
i := i * i
print i
end