Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6175465

Browse files
⭐Added Half Pyramid Pattern
1 parent c1bfffb commit 6175465

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
1 Byte
Binary file not shown.

‎src/PyramidPatterns.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ public static void main(String[] args) {
44
System.out.println("""
55
+--------------+
66
| Half Pyramid |
7-
+--------------+""");
7+
+--------------+
8+
""");
89
halfPyramid(5);
910

1011
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /