Description: The code you submitted on P4 seems in disorder even if you arrange it well on your own PC.
For instance:
1. Snapshot of the code on your screen
Code Alignment Adjustment Issue_sed







2. But after you submitted it
Code Alignment Adjustment Issue_sed_02

The reason is that your code was NOT using the monospaced fonts.
See:
“The monospaced fonts have constant width characters. For instance, the horizontal space an “I” takes up will be the same width that an “m” takes up. These fonts are primarily used to show software code examples.”
Monospace Family: Courier, Courier New, Andale Mono.
Solution: So using the right fonts which are from Monospace Family will make your code alignment always nice.