Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 2 deletions
-rw-r--r--Sem. 03/Solutions/14. Tree.cpp3
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--)