Write a program in Java to print the following pattern using loops only
3
4 6
5 7 9
6 8 10 12
7 9 11 13 15
Answers
Answered by
1
Input : n = 4 Output : 1 3*2 4*5*6 10*9*8*7 Input : n = 5 Output : 1 3*2 4*5*6 10*9*8*7 11*12*13*14*15
Similar questions