Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>>>>++++++++[<++++++>-]<<<<< # sets up 0 at end (index 4)
- , # get number from user and stores in index 0
- >>
- ++++++++++
- [<++++++++++>-] # sets index 1 to d
- <
- [-<->] # checks to see if the values are different
- <
- [>>>>+.< <<<[-]>-<] # if they are output 0+1 (48+1) and set index 1 to -1
- >+[>>>.>] # increase index 1 If was set to zero eariler do nothing else display 0 at index 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement