home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BURKS 2
/
BURKS_AUG97.ISO
/
BURKS
/
LANGUAGE
/
ADA
/
LOVELACE
/
prinsqua.adb
< prev
next >
Wrap
Text File
|
1996-10-01
|
207b
|
13 lines
with Text_IO, Ada.Integer_Text_IO;
use Text_IO, Ada.Integer_Text_IO;
procedure Print_Squares is
X : Integer;
begin
loop
Get(X);
exit when X = 0;
Put(X * X);
New_Line;
end loop;
end Print_Squares;