Résult of the execution of your code
Action functions available :
Test functions available :
Test your script
The goal of this exercise is to correctly use loops.
Write your code so that the robot loads as many cabinets as possible onto each truck that arrives. Note that some trucks can carry more cabinets than others. Whatever size truck arrives, the robot must keep loading it until it is full.
◊ ◊ ◊
© Rupert Meurice de Dormale 2017
All rights reserved, reproduction in whole or in part of the interface and / or the code forbidden without the written agreement of the author
The drawings of the robots are of Jean-Baptiste Sonnet.