We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 473ab25 commit 29d11a3Copy full SHA for 29d11a3
Pattern Programs/Pattern2.java
@@ -0,0 +1,25 @@
1
+/*
2
+
3
+Pattern 2
4
5
+*****
6
+****
7
+***
8
+**
9
+*
10
11
+*/
12
13
+public class Pattern3 {
14
15
+ public static void main(String[] args) {
16
+ for (int i = 1; i <= 5; i++) {
17
+ for (int j = 1; j <= 6-i; j++) {
18
+ System.out.print("*");
19
+ }
20
+ System.out.println();
21
22
23
24
25
+}
0 commit comments