Write a program that reads in the size of the side of a squarethen prints a hollow square of the size out of the asterisks andblanks. Your program should works for squqresof all side sizes between 1 and20. For example, if your program reads a size of 5, itshould print ***** * * * * * * ***** Write a program that reads in the size of the side of a squarethen prints a hollow square of the size out of the asterisks andblanks. Your program should works for squqresof all side sizes between 1 and20. For example, if your program reads a size of 5, itshould print ***** * * * * * * *****
Explanation / Answer
please rate - thanks #include using namespace std; int main() { int i,j,num; coutnum; while(num20) {cout