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
Explain "passing by value", "passing by pointer" and "passing by reference" ?
What is the use of static functions?
What is the precedence when there is a global variable and a local variable in the program with the same name?
What is pointer to array in c++?
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Write any small program that will compile in "C" but not in "C++"?
Explain the term memory alignment?
Why do we use the using declaration?
Explain about vectors in c ++?
if there is binary tree which one is the easiest way to delete all child node?
daily Routine of father