Answer:
Written in C++
The statement that prints the required output is:
<em>printMessage(favFood);
</em>
Explanation:
The full program is with comment is:
#include<iostream>
using namespace std;
//The method begins here
void printMessage(string favFood){
//This line prints the required output
cout<<favFood<<"_is_great";
}
//The main method starts here
int main()
{
//This line declares favFood as string
string favFood;
//This line prompts user for input
cout<<"Food: ";
//This line gets the input
cin>>favFood;
//This line calls the printMessage method
printMessage(favFood);
return 0;
}