Question: One foot equals 12 inches. Write a program that invokes a function named feet-to-inches that accepts a number of feet as an argument and returns
One foot equals 12 inches. Write a program that invokes a function named feet-to-inches that accepts a number of feet as an argument and returns the number of inches in that many feet. Use the function in a program that prompts the user to enter the number of feet and then displays the number of inches in that many feet.
The program should contain a looping sequence that permits the user to enter multiple conversions or exit the program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
