Pseudo-code coding: Exercise #15 → Edition
Statement #15: The program must simulate the throwing of a die and display the value found at each throw. The program must display the number of throws needed to find a 6.
Compose and insert the variables you need

DASHBOARD

SHOE

Elementary instructions

Constants

True
False

Mathematical operators

Boolean operators

AND
OR
NOT

Comparators and parentheses

(
)

Control structures

IF
THEN
ELSE
END IF
REPEAT
UNTIL
WHILE
DO
END WHILE
FOR
DO
END FOR



Pseudo-code coding: Exercise #15 → Execution
Statement #15: The program must simulate the throwing of a die and display the value found at each throw. The program must display the number of throws needed to find a 6.
  Workspace →

Dashboard

Test result...

Test result...


© Rupert Meurice de Dormale 2024 (update of the 1995 version)

All rights reserved. Copying in whole or in part prohibited without written permission of the author.

adresse