Answer:
No programming language stated.
I'll answer the question using C++ programming language
Explanation:
The code goes this;
.#include <iostream>
using namespace std;
int main()
{
string order; int age;
cout<<"Press S for hangar steak, red potatoes, asparagus"<<endl;
cout<<"Press T for whole trout, long rice, brussel sprouts"<<endl;
cout<<"Press B for cheddar cheeseburger, steak fries, cole slaw"<<endl;
cout<<"Please make your order";
cin>>order;
cout<<"Please what's your age";
cin>>age;
if(order == "S" || order == "T" || order == "B")
{
if(age <= 21)
{
if(order == "S")
{
cout<<"The Recommendation is Vegetable Juice";
}
else if(order == "T")
{
cout<<"The Recommendation is Cranberry Juice";
}
else if(order == "B")
{
cout<<"The Recommendation is Soda";
}
}
else
{
if(order == "S")
{
cout<<"The Recommendation is Cabernet";
}
else if(order == "T")
{
cout<<"The Recommendation is Chardonnay";
}
else if(order == "B")
{
cout<<"The Recommendation is IPA";
}
}
}
else
{
cout<<"Invalid Menu Selection";
}
return 0;
}