From c221a7d41e42a30891792e64664e9ba071e01f83 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 29 Oct 2021 08:41:19 +0300 Subject: Fixed solution 14 code style inconsistency --- Sem. 03/Solutions/14. Tree.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sem. 03/Solutions/14. Tree.cpp b/Sem. 03/Solutions/14. Tree.cpp index b47daa4..411db7f 100644 --- a/Sem. 03/Solutions/14. Tree.cpp +++ b/Sem. 03/Solutions/14. Tree.cpp @@ -12,9 +12,8 @@ int main() for(int j = n - i; j > 0; j--) cout << " "; for(int j = -i + 1; j < i; j++) - { cout << i - ((j < 0) ? -j : j); - } + cout << endl; } for(int i = n - 1; i > 0; i--) -- cgit v1.3.1-23-gd82d