Skip to content

Commit

Permalink
Merge pull request #3 from shah-smit/shah-smit-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
shah-smit authored Oct 1, 2019
2 parents 7152f6c + c528a34 commit 71ac5e3
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Hollowgram
Different patterns than can be created using Java and Nested `For Loops`
Different patterns than can be created using Java and Nested `For Loops` and `While Loops`


Design Pattern `HallowDiamond.java`

```
Enter any height: 5
*
Expand All @@ -14,8 +17,11 @@ Enter any height: 5
*
```


Design Pattern `HalfHollowDiamond.java`

```
Enter any height: 5
*
* *
* *
Expand All @@ -24,43 +30,56 @@ Design Pattern `HalfHollowDiamond.java`
* *
```


Design Pattern one `PatternOne.java`

```
Enter any height: 5
*****
* *
* *
* *
*****
```


Design Pattern `PatternTwo.java`

```
Enter any height: 5
****
***
**
*
```


Design Pattern `PatternThree.java`

```
Enter any height: 5
*
**
***
****
```


Design Pattern `PatternFour.java`

```
Enter any height: 5
*
***
*****
*******
```


Design Pattern `PatternFive.java`

```
Enter any height: 5
*
***
*****
Expand Down

0 comments on commit 71ac5e3

Please sign in to comment.