#include #include int main() { randomize(); int rolls; int n1, n2; n1 = (random(6) + 1); n2 = (random(6) + 1); cout << "How many rolls do you want to simulate? "; cin >> rolls; cout << endl; for (; rolls > 0; rolls--;) { cout << n1 << " " << n2 << endl; cout << endl; } if (n1 == n2) { cout << "There was at least one double."; } else { cout << "There were no doubles."; } cout << endl; return(0); }