#include #include #include int main() { int x, y; srand(time(NULL)); x = rand() % 6 + 1; do { y = rand() % 6 + 1; } while (x == y); printf("%d, %d\n", x, y); return 0; }