To display the following pattern by accepting n. Sample Input:- if n = 5 Sample Output:-
1
2 4
3 6 9
4 8 12 15
5 10 15 20 25
In java
Answers
Answered by
0
Answer:
Examples: 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* ...
Similar questions