title: Shortest way to check if 4 numbers are equal?
body: <p>I have 4 numbers (int a, int b, int c, int d) that are equal to rand()%7. How can I discover if the numbers are equal to each other in the shortest way? </p>