Computer Science, asked by snehal1525, 1 month ago

write a program to print the following patterns

*
* #
* # *
* # * #
​​

Answers

Answered by ItzDarshan5
0

Answer:

public class LeftTrianglePattern.

{

public static void main(String args[])

{

//i for rows and j for columns.

//row denotes the number of rows you want to print.

int i, j, row = 6;

//Outer loop work for rows.

Answered by sharanyavpoojary
0

Answer:

1

2 4

3 6 9

4 8 12 16

5 10 15 20 25

Similar questions