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