#include #include #include main() { srand((unsigned) time(NULL)); int dice1, dice2; dice1 = rand() % 6 + 1; dice2 = rand() % 6 + 1; printf("dice1 %d, dice2 %d\n", dice1, dice2); if(dice1 == dice2) printf("Miracle!\n"); return(0); }