Advertisement
volkovich_maksim

t_17_8_e_v1_volkovich

Dec 15th, 2015
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.22 KB | None | 0 0
  1. procedure L(T:tree);
  2. begin
  3.       if T<>nil then
  4.          if (T^.left=nil) and (T^.right=nil) then
  5.             write(T^.elem)
  6.          else begin L(T^.left);
  7.                     L(T^.right);
  8.               end;
  9. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement