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
What is function declaration in c++ with example?
Why is c++ so fast?
What is the use of typedef?
Define 'std'.
What is a manipulator in c++?
Is it possible for a member function to delete the pointer, named this?
Which one is better- macro or function?
What is purpose of new operator?
What is size of a empty class?
7 Answers Microsoft, Tata Elxsi, Wipro,
What is meant by forward referencing and when should it be used?
What compiler was used?
What does std mean in c++?