I cant figure out how the nested loop is supposed to be created. all i have managed is getting the tanks in a diagonal line. does anyone have a clue on how to do it?
A pair of nested for-loops look something like this:
for (int i = 0; i < something; ++i)
for (int j = 0; j < something_else; ++j)
// do some stuff