At Westonci.ca, we provide clear, reliable answers to all your questions. Join our vibrant community and get the solutions you need. Our Q&A platform provides quick and trustworthy answers to your questions from experienced professionals in different areas of expertise. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.
Sagot :
Answer:
The answer to this question is given below in the explanation section.
Explanation:
This question is about desinging a game that is played with two dice and gets or shows their value to the player.
The dice value is random, and it can be between one and six. So, you need to generate two numbers between 1 and 6. You may also need to display the numbers
The main part of this program is that you need to know the numbers to limit or restrict what the user may do next while playing.
That's most of the first level of decomposition for solving a problem. In decomposition, you need to keep decomposing (breaking) the problem into smaller pieces, thinking outline of the program and deciding what objects, functions, variables, and logic you're going to implement in the coding.
We hope our answers were useful. Return anytime for more information and answers to any other questions you have. Thanks for stopping by. We strive to provide the best answers for all your questions. See you again soon. We're dedicated to helping you find the answers you need at Westonci.ca. Don't hesitate to return for more.