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

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 8O 80 inches is equal to 6 Feet 8 inches 1 equa hat would you like to do? Convert whole nunber oF inches to Feet and inches . Convert Feet and inches to decinal Feet 3. Convort Foot and inchos to inches Exit Entor 1.2.3. 1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!