Hi Folks... I haven't an idea where it is bugs.
Seemingly all is ok, but NO. Please help me!
The displayed text should contain 10 lines --------> 13 line
The displayed numbers must form a multiplication table --------> 15 line
Thx
package com.codegym.task.task03.task0314;
public class Solution {
static int a = 0;
public static void main(String[] args) {
for (int i = 0; i < 10; i++) {
int result = 0;
System.out.print("\n");
a++;
for (int j = 0; j < 10; j++) {
result = result + a;
System.out.print(result + " ");
}
}
}
}