RosettaCodeData/Task/Inverted-syntax/Ada/inverted-syntax.ada

6 lines
67 B
Ada

Foo := 1;
loop
exit when Foo = 10;
Foo := Foo + 1;
end loop;