Please explain the below code where I am going wrong that entire loop is not getting printed
package com.codegym.task.task03.task0314;
/*
Multiplication table
*/
public class Solution {
public static void main(String[] args) {
//write your code here
int a;
for(int x=1;x <=10; x++)
{
for(int y=1; y<= 10; y++)
{
a = x * y;
System.out.print(" " +a+ " ");
}
System.out.println(" ");
}
}
}