Question: Draw the flow chart on a paper with everything mentioned. Question 2: Draw the flowchart for the following pseudocode. START Set turnCount to 0 Set

Draw the flow chart on a paper with everything mentioned.
Question 2: Draw the flowchart for the following pseudocode. START Set turnCount to 0 Set win to false REPEAT Roll dice 1 Roll dice 2 Add 1 to turnCount IF (dice 1 equals 6) OR (dice 2 equals 6) THEN Display "You rolled a 6! Take another turn." ELSE EXIT loop END IF UNTIL win is true OR turnCount is greater than 7 IF turnCount is greater than 7 THEN Set win to true END IF IF win is true THEN Display "Congratulations! You win in " + turnCount + "turr ELSE Display "Sorry, you lose." END IF
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
