So, i'm taking a cs class and I need to code whats written down bellow. I've written some code for it but I don't think its correct if someone could look at it that would be great.
(Write a program that contains a function names feet_to_inches(). This function accepts a number of feet as an argument, AND returns the number of inches in that many feet.You program should ask the user for the number of feet as input. Then pass that value as an argument to your function. After the function calculates the number of inches YOU MUST return the number of inches to the calling function (in this case your main code) and print out a message stating the number of inches.)