Here you go. But I will only do this once,ok?just do it for me
Code:using namespace std; int main(int argc, char *argv[]) { int dice1; int dice2; loop noOfRolls = 3; // Will make it do it 3 times int dicesum; do noOfRolls(3) ( dice1 = rand() % 6 + 1; dice2 = rand() % 6 + 1; dicesum = dice1 + dice2 cout << diesum; ) end noOfRolls(3) return 0; system("PAUSE"); return EXIT_SUCCESS; }