I am trying to achieve something like this:
int[12] calculations;
for(int i=0;i<13;i++)
{
for(int j=0;j<13;j++)
if(i<=j)
counter += 1;
calculations[counter-1] = counter;
print("counter: "+counter);
}
Develop games in your browser. Powerful, performant & highly capable.
In construct it will look like this:
System For "i" from 0 to 13 ..System For "j" from 0 to 13 .....System compare two values (loopindex("i")<=loopindex("j")) .........Add 1 to counter