[Solved] Values of for loops are not printing in proper order [closed]


Get the Reference of this link.

Go to format setting, where you find the following code
the first argument is the number of character space you want, and the second is the output you want to print.

System.out.format("%4d", i); System.out.format("%3d", j); 
System.out.format("%3d", k); System.out.println();

solved Values of for loops are not printing in proper order [closed]