7 lines
526 B
Brainfuck
7 lines
526 B
Brainfuck
>++++++++[-<++++++>] //cell 0 now contains 48 the ASCII code for "0"
|
|
<+.-. //print the digits 1 and 0
|
|
>++++++++++. //cell 1 now contains the carriage return; print it!
|
|
>+++++++++ //cell 2 now contains the number 9; this is our counter
|
|
<<+++++++++>> //cell 0 now contains 57 the ASCII code for "9"
|
|
[<<.->.>-] //print and decrement the display digit; print a newline; decrement the loop variable
|
|
<<.>. //print the final 0 and a final newline
|