I\'m trying to call menu function in the main function and let it prompt until the user decides to quit, but seems like it\'s not giving me response.. I\'m new at this websi
there are two problem in your code.
menu() function returns int and you are matching int with char in switch case case '1': it should be case 1:
int
char
case '1':
case 1:
replace below line
scanf("%c%c", &yesno,&c); with scanf("%c%c", &c,&yesno);
scanf("%c%c", &yesno,&c);
scanf("%c%c", &c,&yesno);
hope this help you.