FunLogicBlocksByHamza – Build the Logic

Pick pseudo-code blocks to form a correct solution for each puzzle. Order matters. Then check your logic and see your score.

Puzzle


Goal: Arrange the pseudo-code blocks in the correct order to solve the puzzle.
You can:
  • Click a block to add it to Your Logic.
  • Use Undo or Clear if you change your mind.
  • Press Check Logic to get instant feedback.
Assume variables named in the puzzle (like n, a, b) are already declared.

Available Blocks

Each block is written in simple pseudo-code. Click blocks to add them to your logic in order.
Note: WHILE ... DO and FOR EACH ... DO are loop blocks, and must be closed with matching END WHILE / END FOR.

Your Logic

Your chosen blocks will appear here in order:
Step 1, Step 2, Step 3, ...
Score: —
Build a program above and press "Check Logic" to see how close you are.
Designed and Developed by Hamza Sohail - DE 40 MTS