diff options
Updated some styling and formatting
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | Year 1/Programming introduction/Solutions Sem. 03/14. Tree.cpp | 2 |
diff --git a/Year 1/Programming introduction/Solutions Sem. 03/14. Tree.cpp b/Year 1/Programming introduction/Solutions Sem. 03/14. Tree.cpp index 1955730..f55d47d 100644 --- a/Year 1/Programming introduction/Solutions Sem. 03/14. Tree.cpp +++ b/Year 1/Programming introduction/Solutions Sem. 03/14. Tree.cpp @@ -14,7 +14,7 @@ int main() cout << " "; for (int col = -row + 1; col < row; col++) - cout << row - ((col < 0) ? -col : col); + cout << row - ((col < 0) ? -col : col); // row - abs(col) cout << endl; } |
