Simple C Console Measurement Converter.  Exercise from "Practical C."