Advertisement
ProToTN

CountT Procedure

Jan 21st, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.22 KB | None | 0 0
  1. Procedure CountT(var R:Tab;N:Integer;T:Tab); {N:Size of T(Array)}
  2. Var i,j:Byte;
  3. Begin
  4.   For i:=1 to N do
  5.   Begin
  6.     j=0;
  7.     For j:=1 to N do
  8.     Begin
  9.       if T[j]=T[j] then j:=j+1;
  10.     End;
  11.     R[i]:=j;
  12.   End;
  13. End;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement