Skip to content

Commit 703ad7d

Browse files
committed
Pattern Problem
1 parent 6ddfb0e commit 703ad7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

InterviewPrograms/src/com/java/patterns/Pattern5.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
* Write a Java Program to print the following Pattern
77
1
88
1 2 1
9-
1 2 3 2 1
10-
1 2 3 4 3 2 1
11-
1 2 3 4 5 4 3 2 1
12-
1 2 3 4 5 6 5 4 3 2 1
9+
1 2 3 2 1
10+
1 2 3 4 3 2 1
11+
1 2 3 4 5 4 3 2 1
12+
1 2 3 4 5 6 5 4 3 2 1
1313
*/
1414
public class Pattern5 {
1515
public static void main(String[] args) {

0 commit comments

Comments
 (0)