#include #include #include using namespace std; int main() { srand(time(NULL)); // to get new random numbers for each run int dice; cout << "Ten random dice rolls: "; for (int c = 1; c <= 10; c++) { dice = rand() % 6 + 1; cout << dice << " "; } cout << endl; return 0; }