Answer:
<em>public static void printTotalInches(double num_feet, double num_inches){</em>
<em> double inches = 12*num_feet;</em>
<em> System.out.println("Total value in feets is: "+(inches+num_inches));</em>
<em> }</em>
This function is written in Java Programming Language. Find a complete program with a call to the function in the explanation section
<em>Explanation:</em>
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em>//Calling the function and passing the arguments</em>
<em> printTotalInches(5,8);</em>
<em> }</em>
<em> public static void printTotalInches(double num_feet, double num_inches){</em>
<em> double inches = 12*num_feet;</em>
<em> System.out.println("Total value in feets is: "+(inches+num_inches));</em>
<em> }</em>
<em>}</em>