Quantcast
Channel: a question about loops.
Viewing all articles
Browse latest Browse all 2

a question about loops.

$
0
0

So my assignment is to build a console for a dice game. I have the pseudo code all written up and don't think ill have a problem writing the code but I have a couple questions about loops. 

1. Suppose that in your dice game you let the user roll the dice exactly ten times. What kind of loop would you use in this case?

2. Suppose that in your dice game, you let the user keep rolling the dice until a seven was rolled. What kind of loop would you use in this case?


Lyndsee Elizabeth


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images