









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










GNAT 3.13p (20000509) Copyright 1992-2000 Free Software Foundation, Inc.
Checking: c:/docume~2/joeb/desktop/16070/codeso~1/my_array_package.ads (source file time stamp: 2003-10-08 13:48:58)
29 lines: No errors
GNAT 3.13p (20000509) Copyright 1992-2000 Free Software Foundation, Inc.
Compiling: c:/docume~2/joeb/desktop/16070/codeso~1/my_array_package.adb (source file time stamp: 2003-10-08 13:54:40)
72 lines: No errors
GNAT 3.13p (20000509) Copyright 1992-2000 Free Software Foundation, Inc.
Compiling: c:/docume~2/joeb/desktop/16070/codeso~1/test_my_array.adb (source file time stamp: 2003- 10-08 14:03:20)
29 lines: No errors
131 lines: No errors
GNAT 3.13p (20000509) Copyright 1992-2000 Free Software Foundation, Inc.
Checking: c:/docume~2/joeb/desktop/16070/codeso~1/my_aircraft.ads (source file time stamp: 2003-10- 18:10:40)
-- Package to specify aircraft parameters and the
-- related subprograms
-- Specifier : Joe B
-- Date Last Modified : 10/07/
package My_Aircraft is
Num_of_Aircraft : constant Integer := 10;
type Aircraft_Information is
32 lines: No errors
GNAT 3.13p (20000509) Copyright 1992-2000 Free Software Foundation, Inc.
Compiling: c:/docume~2/joeb/desktop/16070/codeso~1/my_aircraft.adb (source file time stamp: 2003-10- 08 18:26:26)
-- Package body for My_Aircraft
-- Programmer: Joe B
-- Date Last Modified : 10/07/
with Ada.Text_Io;
with Ada.Integer_Text_Io;
with Ada.Float_Text_Io;
with Ada.Numerics.Elementary_Functions;
package body my_aircraft is
function Get_Aircraft_Info return Aircraft_Array is
Output_Array : Aircraft_Array;
begin
for I in 1 .. Num_of_Aircraft loop
Ada.Text_Io.Put("Please Enter Information of Aircraft");
Ada.Text_Io.Put(Integer'Image(I));
Ada.Text_Io.New_Line;
Ada.Text_Io.Put("Aircraft Id : ");
Ada.Integer_Text_IO.Get(Output_Array(I).Aircraft_Number);
Ada.Text_Io.Skip_Line;
end Compute_Distances;
end My_Aircraft;
87 lines: No errors
GNAT 3.13p (20000509) Copyright 1992-2000 Free Software Foundation, Inc.
Compiling: c:/docume~2/joeb/desktop/16070/codeso~1/test_my_aircraft.adb (source file time stamp: 2003- 10-08 18:12:00)
20 lines: No errors