Foreach 10 in 100?

Hi!

I want to make something like for each 10 in 100 do this. So it would do it 10 times because 10 * 10 is 100. Simple math. I honestly don’t know a better way to explain it. If you need a better explanation, I’ll try.

So do anyone know how I could do anything like this?

Thanks

for (int index=0; index < 10; index++)
{
int ten = index * 10;
}

Try this:

for(int i=0; i<100; i+=10)
{
    //your code
}