[Solved] Select three choices (multiple choices) in C [closed]
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 … Read more