RosettaCodeData/Task/Character-codes/Ada/character-codes.ada

7 lines
160 B
Ada
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
with Ada.Text_IO; use Ada.Text_IO;
procedure Char_Code is
begin
Put_Line (Character'Val (97) & " =" & Integer'Image (Character'Pos ('a')));
end Char_Code;