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

Post New Answer

More C++ General Interview Questions

Differentiate between an external iterator and an internal iterator?

0 Answers  


Does std endl flush?

0 Answers  


Is c++ the hardest language?

0 Answers  


What are the 3 levels of programming languages?

0 Answers  


Can char be a number c++?

0 Answers  






Please explain the reference variable in c++?

0 Answers  


What is a container class?

0 Answers  


What is realloc() and free()? What is difference between them?

1 Answers  


What is c++ flowchart?

0 Answers  


What is pure virtual function? Or what is abstract class?

0 Answers  


i want the NIC programmer-B model papaer pattren, iwant the all model papers?

15 Answers   NIC,


Why do we need c++?

0 Answers  


Categories