Virtual robotics: the bank clerk robot → Edition

DASHBOARD

SHOE

Elementary instructions

Put the bundle of banknotes in the reader
Read 1 banknote, copy its value to VALUE
Write 0 on SUM
Write (SUM + VALUE) to SUM
Display "Bundle contains $",SUM,"."

Check

1 more banknote in the bundle?

Logical operators

AND
OR
NOT

Control structures

IF
THEN
ELSE
END IF
REPEAT
UNTIL
WHILE
DO
END WHILE



Virtual robotics: the bank clerk robot → Execution

Dashboard

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