Answer:
The function declaration to this question as follows:
Function declaration:
//declaring method printFeetInchShort, that accepts two integer parameters
void printFeetInchShort(int numFeet,int numInches) //method
{//method body
printf("The given height is: "); // message printing
printf("%d\'%d\" ", numFeet,numInches); //value printing
}
Explanation:
In the above method (function) declaration a method "printFeetInchShort" is declared, that accepts two integer variable as its parameters.
- This method uses a return type void, which means it will not return any value.
- The parameter "numFeet and numInches" accepts an integer value in the main method and inside the method, it will print its value by a single and double quote.