Step-by-step explanation:
The computer program for the given case is;
int main void
{
char in;
int age;
printf ("Enter the menu code, you would like to have: S or T or B ")
scanf("%c", &in)
printf ("Kindly enter your age as well")
if (in==T or in==S or in==B)
{
if (in==S & age <=21)
printf(""vegetable juice")
elseif(in==T & age <=21)
printf("cranberry juice")
elseif(in==B & age <=21)
print ("Soda")
elseif(in==S & age >21)
printf( "cabernet")
elseif(in==T & age >21)
printf("chardonnay")
else
printf("IPA"
)
else
printf("Invalid menu selection")
return