theextremelegend001
theextremelegend001 theextremelegend001
  • 08-09-2018
  • Computers and Technology
contestada

An online game is played with two dice. In this context, explain what is meant by decomposition in a simple way.

Respuesta :

cerenetie
cerenetie cerenetie
  • 08-09-2018
Their value is random, so you need to generate two numbers between 1 & 6.
    You may need to display the numbers
    The main part of the program needs to know the numbers to limit what the user may do next.


That's most of the first level of decomposition. You need to keep decomposing (breaking into smaller simpler pieces) (think of an outline) and deciding what objects, functions, data structures and logic you're going to code this.
Answer Link

Otras preguntas

What are positivly charged particles in an atoms nucleus called
Find the missing exponent. 5 =25
the student applies a net force of 4.5 N to the 1.5 kg textbook. Calculate the magnitude of the textbook's acceleration.
Escribir la forma apropiada de ser or estar
Which property is this?
Evaluate Locke's claim that "The reason why men enter into society is the preservation of their property" by comparing it to the theory put forward by Jean-Jacq
In a fraction with a denominator of 15, which value could the numerator be to produce a repeating decimal? A. 15 B. 9 C. 11 D. 12
A source or supply from which a benefit is produced and that has some utility
Which was a direct long-term effect of the enforcement of the Navigation Acts? A Promoted British commercial treaties with Spain and France throughout the 1700
Please, please answer this for me