Given an integer, , print its first multiples. Each multiple (where ) should be printed on a new line in the form: N x i = result.
int sum;
for(int i = 1; i <= 10; i++){
sum = n * i;
System.out.println(n + " x " + i + " = " + sum);
}