C program to perform simple conversions.