Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure L(T:tree);
- begin
- if T<>nil then
- if (T^.left=nil) and (T^.right=nil) then
- write(T^.elem)
- else begin L(T^.left);
- L(T^.right);
- end;
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement