0

Can someone fix my simple if-while multiplication table? I'm relatively new to this.

https://code.sololearn.com/c5KJjPjt2c8M/?ref=app

8th May 2022, 1:29 PM
Vince Luther Sabido
Vince Luther Sabido - avatar
1 Answer
+ 2
Add c = a*d ; inside loop... do { int c = a*d; System.out.println(a + "x" + d + "=" + c); d++; }while (d<=b);
8th May 2022, 1:35 PM
Jayakrishna 🇼🇳