This seems to work, I'm just wondering if it could be any cleaner or more compact?
package com.codegym.task.task04.task0434;
/*
Multiplication table
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
int j = 1,i = 1;
while(j<11)
{
// int i = 1;
while(i<11)
{
//int p = i * j;
System.out.print((i*j) + " ");
i++;
}
++j;
i = 1;
System.out.println("");
}
//write your code here
}
}