Conversion from metric to imperial and vice versa

Hi, 

How do I make the program to display all input and output values either in metric or imperial?

ie., All inputs in Metric and all output in imperial  or vice versa

Right now all my inputs and outputs all metric units