Answer:
public class Main
{
public static void main(String[] args) {
PrintFeetInchShort(5, 8);
}
public static void PrintFeetInchShort(int numFeet, int numInches) {
System.out.println(numFeet + "'" + " " + numInches + "\"");
}
}
Step-by-step explanation:
Create a function called PrintFeetInchShort that takes two parameters, numFeet, and numInches
Print the given values in required format. Use System.out.println to print the values, ends with a new line.
Inside the main, call the function with two integers as seen in the example