Please help me solve this | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please help me solve this

using for loop, write a program that displays "6 times" multiplication table; the output should look like this: 1x6=6,2x6=12,3x6=18 until reaches to.... 12x6=72. appreciate help very nuch. thanks in advance

11th Nov 2017, 3:51 PM
Javohir Rahimov
6 Answers
+ 3
Try to begin and if you have problems, please ask here
11th Nov 2017, 4:10 PM
Daniel
Daniel - avatar
+ 2
and work?
11th Nov 2017, 4:20 PM
Daniel
Daniel - avatar
+ 2
Well done, you can do it, you only need always to try ;-)
11th Nov 2017, 4:30 PM
Daniel
Daniel - avatar
+ 1
yeah I have solved it. thank u for trying to help me
11th Nov 2017, 4:29 PM
Javohir Rahimov
+ 1
yeah I have solved it. thank u for trying to help me
11th Nov 2017, 4:29 PM
Javohir Rahimov
0
public class app{ public static void main (String[]args){ for(int m=1; m<=12; m++){ for(int p= 6; p<=72; p=p+6){ System.out.println(m+"x6="+p); } } } }
11th Nov 2017, 4:15 PM
Javohir Rahimov