1.1 Display binary numbers (without calculations)

Block-based solution

View solution

This is just one of many possible solutions:

when green flag clicked
say [1] for (1) secs
say [2] for (1) secs
say [4] for (1) secs
say [8] for (1) secs
say [16] for (1) secs

Back to programming challenge

Extra Challenge

Display the numbers from largest to smallest (display numbers 16, 8, 4, 2 and 1).