Mode:
Duration:
1
2
3
4
5
6
7
8
9
with Ada.Text_IO; use Ada.Text_IO;
procedure Conditional_Increment is
Count : Integer := 3;
begin
if Count < 5 then
Count := Count + 1;
end if;
Put_Line("Count: " & Integer'Image(Count));
end Conditional_Increment;Coding works best on desktop or with an external keyboard.