|
|
I am doing a loop where it adds one to the value of a number and prints it but I need it to skip after it prints every 5th term how would I do that? |
if (x%5!=0)cout << something;
And also how would I do it so that it prints first 1 term skips a line, then 2 skips a line, then 3 skips a line, etc? |
|
|