Counting

One of the most common bugs in computer programming is an off-by-one error. Oftentimes, we end up writing programs that do either one too many, or one too few times. Let’s see if you can predict the output of this program:

Get hands-on with 1200+ tech skills courses.