Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String findGroup(int chair) {
- if (chair % 3 == 2 && chair!= 47) return "center";
- else if ((chair & ~1) % 6 == 0) return "left";
- else return "right";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement