Different ways of traversing a binary tree

Algorithm to traverse a given binary tree in:
i) Inorder 
ii) Preorder
iii) Postorder