See the idea
Every digit is worth its place. Tap a digit: the value, the code and the output change together.
Based on Modern C++ · Stage 2 · Reading a number in another base. The lesson works through a few set numbers; here you can change the digits yourself.