mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-27 11:29:18 +02:00
9 lines
162 B
ObjectPascal
9 lines
162 B
ObjectPascal
Program Example66;
|
|
|
|
{ Program to demonstrate the Sqrt function. }
|
|
|
|
begin
|
|
Writeln (Sqrt(4):0:3); { Prints 2.000 }
|
|
Writeln (Sqrt(2):0:3); { Prints 1.414 }
|
|
end.
|