int main() {
for(int i=1; i<5; i++)
for(int j=1; j<5; j++)
{
printf("i%d j%d\n",i,j);
}
return 0;
}
out put should look like this;
i1 j1
i1 j2
i1 j3
i1 j4
i2 j1
i2 j2
i2 j3
i2 j4
i3 j1
i3 j2
i3 j3
i3 j4
i4 j1
i4 j2
i4 j3
i4 j4
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter