Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
Number of dice and number of faces per die are defined once (not hardcoded throughout the program). A function named RollDice takes a parameter that is the dice array and randomly fills the array w
Number of dice and number of faces per die are defined once (not hardcoded throughout the program).
A function named RollDice takes a parameter that is the dice array and randomly fills the array with numbers between 1 and 6.
No global variables – dice array must be passed.
An int variable named numberOfReRolls must exist and be used to determine how many times the user is allowed to reroll.