Incrementing and Decrementing Variables with ++ and —
(Medium styles two minus signs as an em dash, like this: — . But we’re talking about two minus signs.)
Incrementing a variable is one of the most common things you do as a programmer. The simplest way is to take…