lama_byterun/lama-compiler/regression/test023.lama

8 lines
80 B
Text

var s = 0;
repeat
var n = read ();
s := s + n
until (n == 0);
write (s)