Answer:
Follows are the progrm to this question:
#include <iostream>//defining header file
using namespace std;
void printFeetInchShort (int numFeet , int numInches)//defining a method printFeetInchShort
{
cout<<numFeet <<"'"<<numInches<< " \" ";//print value with ' and "
}
int main()//defining main method
{
printFeetInchShort(5,8);//call method by pssaing integer value
return 0;
}
Output:
5'8 "
Explanation:
In the above-given program, a method "printFeetInchShort" is defined, that accepts two integer variable, that is "numFeet and numInches" in its parameters.