C++ Asignment

This is a discussion on C++ Asignment within the C++ Programming forums, part of the General Programming Boards category; could someone help me with this im trying to make a program that displays five dice rolls of two dice ...

C++ Asignment

could someone help me with this im trying to make a program that displays five dice rolls of two dice where each die is a number from 1 to 6, and shows the total. when run, the program should look like this:

2 4= 6
1 1= 2
6 6= 12
4 3= 7
5 2= 7

Ok i got the first part i think but when i run it, it comes up with the same output everytime. also it has to be in some kind of loop. I dont want it to be the same output every time its like the randomizer isnt working. hears what i have so far: