write a program to print the following patterns
*
* #
* # *
* # * #
Answers
Answered by
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
0
Answer:
1
2 4
3 6 9
4 8 12 16
5 10 15 20 25
Similar questions