Question: Write a main function that has statements that do the following read a number from the the keyboard and assign it to a variable. You
Write a main function that has statements that do the following read a number from the the keyboard and assign it to a variable. You should display a message that says "Enter the number of feet alla unction called convert feet to jinches passing the number that was read as a parameter. The function call should be on the right of an assignment operator to assign the returned value to a variable. the returned value to the screen with the display message "The feet you entered converted to inches is", ??????-inches". The xoxox should be replaced by the value returned by the convert feet to inches function. Write a convert feet to inches function that takes a parameter and multiplies the parameter by 12. The function then returns the result of the calculation Write a statement at the bottom that calls the main function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
