if(choice==1,3,9 && choice2==1,3,9 && choice3==1,3,9){
if( (choice== 1 || 3 || 10) && (choice2== 1 || 3 || 10) && (choice3== 1 || 3 || 10)) //always TRUE
if(choice==1,3,11 && choice2==1,3,11 && choice3==1,3,11){
Do you consider these conditions as valid syntax to behave as your needs ?
Correct would be
if((choice==1 ||choice==3 ||choice==9) && (choice2==1 ||choice2==3 ||choice2==9) && (choice3==1 ||choice3==3 ||choice3==9))
if((choice==1 ||choice==3 ||choice==10) && (choice2==1 ||choice2==3 ||choice2==10) && (choice3==1 ||choice3==3 ||choice3==10))
if((choice==1 ||choice==3 ||choice==11) && (choice2==1 ||choice2==3 ||choice2==11) && (choice3==1 ||choice3==3 ||choice3==11))
4
solved Select three choices (multiple choices) in C [closed]