3 ms·Just combine the booleans in to an integer and then switch-case 0 to 7.by nly 12y agoJust combine the booleans in to an integer and then switch-case 0 to 7.