Create a new Die object. (Refer to Die. html for documentation.) Create a loop that will iterate at least 100 times. In the loop body:Roll the die. (Don't create a new object, just roll it again.) Based on the result of the roll, increment the corresponding cell of your array.
+5
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Create a new Die object. (Refer to Die. html for documentation.) Create a loop that will iterate at least 100 times. In the loop body:Roll ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Home » Computers and Technology » Create a new Die object. (Refer to Die. html for documentation.) Create a loop that will iterate at least 100 times. In the loop body:Roll the die. (Don't create a new object, just roll it again.