Mode:
Duration:
1
2
3
4
5
6
7
8
9
10
11
12
13
with Ada.Text_IO; use Ada.Text_IO;
procedure Max_Num is
A, B, Max : Integer;
begin
A := 10;
B := 20;
if A > B then
Max := A;
else
Max := B;
end if;
Put_Line("Max: " & Integer'Image(Max));
end Max_Num;Coding works best on desktop or with an external keyboard.