Skip to content

Commit 2dd13b5

Browse files
authored
Merge pull request #30 from supriyogarai/main
Create DoubleLoopStarPrinting.java
2 parents cd3eeb4 + d153cea commit 2dd13b5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

DoubleLoopStarPrinting.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
public class RightTrianglePattern
2+
{
3+
public static void main(String args[])
4+
{
5+
int i, j, row=6;
6+
for(i=0; i<row; i++)
7+
{
8+
for(j=0; j<=i; j++)
9+
{
10+
System.out.print("* ");
11+
}
12+
System.out.println();
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)