CSC 215

Fall '98

Section 701

Extra Credit

Midterm Extra credit

By November 17th: Edit, compile, and run a program called tometric.cpp that will read in a length in feet and inches and convert and print it out as meters and centimeters. Allow the user to repeat the calculations as often as they'd like. Write separate functions for entering the feet and the inches, allowing only nonnegative integer values for feet and floating point values between 0 and 11 for inches. Write a separate function for converting inches to centimeters and use that to convert from feet and inches to meters and centimeters.