Hiya! How would I go about writing a statement for the following case?
1. Use a counter named icount that has an initial value of 1, a final value of 20, and an increment of 2.
Any help would be greatly appreciated. Thanks!
Do you know how to create a variable?
Yes, I understand how to create a variable. I'm just not too familiar with how counters work quite yet.
The question is trying to lead you into something known as a "loop". A "for loop" or a "while loop" would do.
Last edited on