mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
More Ada support.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
|
||||
with Ada.Text_IO; use Ada.Text_IO;
|
||||
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
|
||||
|
||||
procedure helloadaexceptions is
|
||||
|
||||
x :integer range 1..20;
|
||||
y :integer;
|
||||
|
||||
begin
|
||||
|
||||
put("enter a number "); get(y);
|
||||
x:=y;
|
||||
put("thank you");
|
||||
|
||||
end helloadaexceptions;
|
||||
|
||||
Reference in New Issue
Block a user