I need to simulate a dice rolling program in plain C that rolls 10 times and then reports what the highest and lowest roll was....I've written a program to generate the two die but it will only run once. I tried a while statement
(while numberRolls != 10) so that it would keep generating the rolls until it reached 10 rolls but it didn't work. Please help! I have an idea on how to get the highest and lowest roll but any help would be appreciated! THANKS!