home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
PASCAL
/
CMPLTPAS.ZIP
/
ROOTER.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Pascal/Delphi Source File
|
1986-01-18
|
256 b
|
14 lines
PROGRAM Rooter;
VAR
R,S : Real;
BEGIN
Writeln('>>Square root calculator<<');
Writeln;
Write('>>Enter the number: ');
Readln(R);
S := Sqrt(R);
Writeln(' The square root of ',R:7:7,' is ',S:7:7,'.')
END.