The code is perfect except the lines printed are 11. Give my code a try (Don't verify it, instead run it) and you'll see what I mean. And if you do, there's a space above the 1 2 3 ... 9 10 which is somehow I don't know how to remove that one. Please let us help each other.
package com.codegym.task.task03.task0314;
/*
Multiplication table
*/
public class Solution {
public static void main(String[] args) {
//write your code here
for (int a = 1; a <= 10; a++){
System.out.print("");
System.out.println("");
for (int b = 1; b <= 10; b++){
System.out.print(a * b);
System.out.print(" ");
}
}
}
}