From 3f402620ecd071fb467b108036ac08ed48c5f929 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 3 Nov 2021 21:18:33 +0200 Subject: Updated some styling and formatting --- Year 1/Programming introduction/Solutions Sem. 03/14. Tree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Year 1/Programming introduction/Solutions Sem. 03/14. Tree.cpp') 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; } -- cgit v1.3.1-26-gb76a