You want to throw 2 dice and get (or show?) their value.
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 use to code this.
Answer:
The answer is "Option C".
Explanation:
Smartphone normally provides a touch screen interface, which used in phones and tablets, that displays and inserts data on the seen. Nowadays laptops and smartphones are much more comparable to traditional computers on the desktop, In the given question except option c, all option are wrong that can be described as follows:
- In option A, It is not correct because all the smart-phones contain CPU which is known as the processor.
- In option B, It is not correct because the cell phone is normally used for call purposes only.
- In option D, It is not correct because both computers and smartphones have the same computing power.
What type of computer do you have