RosettaCodeData/Task/Count-in-octal/Ada/count-in-octal.ada
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

10 lines
215 B
Ada

with Ada.Text_IO;
procedure Octal is
package IIO is new Ada.Text_IO.Integer_IO(Integer);
begin
for I in 0 .. Integer'Last loop
IIO.Put(I, Base => 8);
Ada.Text_IO.New_Line;
end loop;
end Octal;