Pseudo-code coding: Exercise #17 → Edition
Statement #17: The program simulates the drawing of 13 spade cards (see image below), with a number of cards previously requested by the user. Each card must be displayed clearly (display: Queen of Spades, not 12 of Spades).
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 #17 → Execution
Statement #17: The program simulates the drawing of 13 spade cards (see image below), with a number of cards previously requested by the user. Each card must be displayed clearly (display: Queen of Spades, not 12 of Spades).
  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

Jeu de pique