Reads in the size of a square from the screen;
2. Prints a hollow square of that size out of “-“, “|” and
blanks on screen;
3. Prints the same hollow square onto a text file.
Your program should work for squares of all side sizes
between 1 and 20.
---
│ │
│ │
│ │
---
No Answer is Posted For this Question
Be the First to Post Answer
Do we have to use initialization list in spite of the assignment in constructors?
What is the use of this pointer in c++?
what kind of projects are suitable for c and c++
Define a nested class. Explain how it can be useful.
How is c++ used in the real world?
How const int *ourpointer differs from int const *ourpointer?
Why #include is used?
How to declare an array of pointers to integer?
What does #define mean in c++?
Write a Program to find the largest of 4 no using macros.
What is a .h file c++?
what are Operators and explain with an example?