i hope this can help you, i just program it and its look the same with the output of what you want.

for(int i =1; i<=4;i++)
{
for(int j =1; j<=6;j++)
{
System.out.printf("%3d", (i *...