#include #include #include using namespace std; /* why are you looking at this, GO AWAY! */ int main() { int number; int maxrolls=0; int dice; int i; srand((unsigned)time(0)); std::cout<< "how many dice are you rolling?"; std::cin>> maxrolls ; for(i=0;i < maxrolls;i++){ dice = (rand() % 10) + 1; cout << dice << endl; } system("pause"); return 0; }