adding example

This commit is contained in:
Jidong Xiao
2023-08-30 12:47:37 -04:00
parent 86d39e45ea
commit 418a58ead9

View File

@@ -24,7 +24,25 @@ Lets look at a simple example. Here is a sample input file, named example.txt
And heres the output produced for that input file for the three different justification modes, for the specified And heres the output produced for that input file for the three different justification modes, for the specified
text width of 16: text width of 16:
flush left **flush left**
```txt
--------------------
| Here is an |
| example of text |
| justification. |
--------------------
```
**flush right**
```txt
--------------------
| Here is an |
| example of text |
| justification. |
--------------------
```
**full justify**
```txt ```txt
-------------------- --------------------
| Here is an | | Here is an |