#include #include #include int main() { int dice1, dice2; //srand(time(0)); dice1 = (rand() % 6) + 1; dice2 = (rand() % 6) + 1; cout << dice1 << ", " << dice2 << endl; return 0; } /* >a.out 2, 3 /homes/home30/hkim16/107> a.out 4, 5 /homes/home30/hkim16/107> a.out 1, 2 /homes/home30/hkim16/107> a.out 2, 6 */