I want it so that when a user doesn't enter char r,p,g,m,c,y it will come up and say incorrect input enter 4 correct values. This is what I have.
while( (g.one || g.two || g.three || g.four) != ('r' || 'p' || 'g' || 'm' || 'c' || 'y') );
It will not run the loop if I put in a char out of the range but if I change it to == and input one of those char it will run the loop. Why is that?