Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,7 +1,11 @@
|
|||
declare t(20) fixed initial (1, 5, 6, 2, 1, 7,
|
||||
5, 22, 4, 19, 1, 1, 6, 6, 6, 8, 9, 10, 11, 12);
|
||||
*process mar(1,72);
|
||||
remdup: Proc options(main);
|
||||
declare t(20) fixed initial (6, 6, 1, 5, 6, 2, 1, 7,
|
||||
5, 22, 4, 19, 1, 1, 6, 8, 9, 10, 11, 12);
|
||||
declare (i, j, k, n, e) fixed;
|
||||
|
||||
put skip list ('Input:');
|
||||
put edit ((t(k) do k = 1 to hbound(t))) (skip,20(f(3)));
|
||||
n = hbound(t,1);
|
||||
i = 0;
|
||||
outer:
|
||||
|
|
@ -15,4 +19,5 @@ outer:
|
|||
end;
|
||||
|
||||
put skip list ('Unique elements are:');
|
||||
put edit ((t(k) do k = 1 to i)) (skip, f(11));
|
||||
put edit ((t(k) do k = 1 to i)) (skip,20(f(3)));
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue