A(n) _________loop occurs when a condition in a while statement never becomes false.
a) indefinite
b) undefined
c) nested
d) infinite
d) infinite
You might also like to view...
(Craps Game Modification) Modify the program of Fig. 5.10 to play 1000 games of craps. The program should keep track of the statistics and answer the following questions:
a) How many games are won on the 1st roll, 2nd roll, ..., 20th roll, and after the 20th roll? b) How many games are lost on the 1st roll, 2nd roll, ..., 20th roll, and after the 20th roll? c) What are the chances of winning at craps? [Note: You should discover that craps is one of the fairest casino games. What do you suppose this means?] d) What is the average length of a game of craps? e) Do the chances of winning improve with the length of the game?
You can create a copy of a layer using the File menu.
Answer the following statement true (T) or false (F)