home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
minnie.tuhs.org
/
unixen.tar
/
unixen
/
PDP-11
/
Distributions
/
ucb
/
spencer_2bsd.tar.gz
/
2bsd.tar
/
src
/
pascal
/
tests
/
t05.p
< prev
next >
Wrap
Text File
|
1980-02-17
|
162b
|
16 lines
program egwhile(output);
var
n: integer;
h: real;
begin
n := 10;
write(n);
h := 0;
while n > 0 do
begin
h := h + 1/n;
n := n-1;
end;
writeln(h)
end.