Virtual robotics: the number-taking robot → Edition

Dashboard

SHOE

Elementary instructions

Take 1 number between 0 and 150
Signals "This is a 2-digit number"
Signals "NOT a 2-digit number"

Check

Number smaller than 10?
Number larger than or = 10?
Number smaller than or = 99?
Number larger than 99?

Logical operators

AND
OR

Control structures

IF
THEN
END IF

 Attention : use IF maximum 2 times.



Virtual robotics: the number-taking robot → Execution

Tableau de bord

Running the program

Step-by-step execution

Test conditions

Initial test conditions...

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.

The drawings of the robots are by Jean-Baptiste Sonnet.

adresse