I'm working on a program that sorts magic the gathering cards, and I'm attempting to output text every x times, where x is specified by user. For example, the program counts down from 100, but only displays integers every 5 steps.
so the output would be 100 95 90 85 80 75 and so on.
I was trying to use an if statement for this, but I can't get my head around it. I'm new to programming, and I'm self taught, which is probably the root of my problems.