You are reading a single comment by @Greenbank and its replies. Click here to read the full conversation.
  • Ah there we are! I thought something like that should work, but for some reason my mind went in the direction of shifting the input instead of taking it as a negative number.

  • Cheers and @SwissChap

    I'd found a few solutions giving me 2, 1, 3 but none with 2, 1, 0 and particularly none so simple.

About

Avatar for Greenbank @Greenbank started