Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--Sem. 03/Solutions/12. Frame.cpp4
diff --git a/Sem. 03/Solutions/12. Frame.cpp b/Sem. 03/Solutions/12. Frame.cpp
index a91c907..6eca5a2 100644
--- a/Sem. 03/Solutions/12. Frame.cpp
+++ b/Sem. 03/Solutions/12. Frame.cpp
@@ -11,10 +11,10 @@ int main()
{
bool onFirstOrLastLine = (row == 0 || row == n-1);
- cout << ((onFirstOrLastLine) ? "+" : "|");
+ cout << ((onFirstOrLastLine) ? "+ " : "| ");
for (int col = 0; col < n - 2; col++)
- cout << "-";
+ cout << "- ";
cout << ((onFirstOrLastLine) ? "+" : "|") << endl;
}