Here's a sample from my review:

7) How many times does the letter A print out in the following segment of code?

A) 10 B) 12 C) 15 D) 20 E) NOTACode:int i=0; while (i < 20) { i++; if (i%5 > 2) { continue; } printf(“A”); }

The answer is b, but I dont understand the if statement.

For instance, I do understand if something like 12%5, which is 2 because 5 can only go up to 10, so the remainder is 2.

But when it's something like 19%200, it throws me off