Code:
do {
printf("\n2.) The second option");
printf("\n\nEnter command, or zero to quit: ");
scanf("%d", &selection);
switch (selection) {
case 1:
printf("\n\nwhich color would you like to know about?\n\n");
scanf("%s", color);
break;
case 2:
printf("\n\noh hello");
break;
}
if( strcmp( color, "green" ) == 0 ) {
printf("\n\nGreen is made up of both blue and yellow");
}while(selection != 0);
}
scanf("%d", bunk);
getchar();
}
Something like that. Just using a loop.
And welcome to the forum - thanks for using code tags, also.