projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
BSD 1 development
[unix-history]
/
tests
/
t05.p
Commit
Line
Data
fde98a2d
BJ
1
program egwhile(output);
2
var
3
n: integer;
4
h: real;
5
begin
6
n := 10;
7
write(n);
8
h := 0;
9
while n > 0 do
10
begin
11
h := h + 1/n;
12
n := n-1;
13
end;
14
writeln(h)
15
end.