Question: Write a program that converts distance values. The program should give the user three options: convert a whole number of inches to feet and inches,
Write a program that converts distance values. The program should give the user three options: convert a whole number of inches to feet and inches, convert feet and inches to decimal feet, or feet and inches to inches. Write the decimal feet to three decimal places. For example, 80 inches is 6 feet, 8 inches; 5 feet, 6 inches is 5.5 feet, and 4 feet, 2 inches is 50 inches. An example of output is provided below: "C:Documents and Settings ClaraWy Documents 1 Teaching LES 115 Computer Application...D Chapter 3 Problen 41 ha onoordfeetland berhof to inche. would you 1se to do? . Convert whole nunber of inches to feet and inches 2. Convert feet and nchee to decinal feet 3. Convert feet and inches to inches 4. Exit Enter 1. 2. 3. or 4-1 Enter total inehes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
