is there a way to count in higher increments? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

is there a way to count in higher increments?

Is there a way to manipulate the increment operator (++;--) to count by 2s? If not, what is a way to accomplish this?

9th Jul 2020, 11:36 PM
Prinn
Prinn - avatar
1 Answer
+ 6
No. Way -> c += 2; or c -= 2;
9th Jul 2020, 11:45 PM
Kevin ★