Calculate the number of rounds (“Rounds”) based on the number of sides on the dice. I am doing a project where I have the code for a 6 sided die and I have to roll two die at the same time that equal the corresponding round number. There are 11 rounds because a six sided die can add up from 2-12 . How should I approach this question? Thank you.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter23: Simulation With The Excel Add-in @risk
Section: Chapter Questions
Problem 7RP
icon
Related questions
Question

Calculate the number of rounds (“Rounds”) based on the number of sides on the dice.

I am doing a project where I have the code for a 6 sided die and I have to roll two die at the same time that equal the corresponding round number. There are 11 rounds because a six sided die can add up from 2-12 . How should I approach this question? Thank you.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Follow-up Questions
Read through expert solutions to related follow-up questions below.
Follow-up Question

Thank you so much. For a code, could I do something like num_total = max_sum - min_sum + 1. Then assign the variables to come out to 11 

Solution
Bartleby Expert
SEE SOLUTION
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage