Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Sleep/Ada/sleep.ada
Normal file
11
Task/Sleep/Ada/sleep.ada
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
with Ada.Text_Io; use Ada.Text_Io;
|
||||
with Ada.Float_Text_Io; use Ada.Float_Text_Io;
|
||||
|
||||
procedure Sleep is
|
||||
In_Val : Float;
|
||||
begin
|
||||
Get(In_Val);
|
||||
Put_Line("Sleeping...");
|
||||
delay Duration(In_Val);
|
||||
Put_Line("Awake!");
|
||||
end Sleep;
|
||||
Loading…
Add table
Add a link
Reference in a new issue