I understand that the variable names can be a bit more concise and relevant and also that the 'b' variable is redundant. However if I delete the b variable and I run the code, I get a multiplication table that prints up to num * 9 (it should print up to num * 10). At the end of the code, if I remove a++ out of the brackets and run the code, I just get the original NUM value printed 10 times. import java.util.Scanner; public class MultiplicationTable { public static void main(String args[]) { //Write a Java program that takes a number as input and prints its multiplication table up to 10. //Test Data: //Input a number: 8 //Expected Output : //8 x 1 = 8 //8 x 2 = 16 //8 x 3 = 24 //... //8 x 10 = 80 Scanner keyboard= new Scanner(System.in); System.out.println("Enter a number"); int num= keyboard.nextInt(), a = 1, b=a++, table = num, i = 0; for (i=0; i <= 9; i++) { System.out.println(table); table = num * (a++); } } }