Write a program that reads in the size of the side of a squarethen prints a holl
ID: 3616645 • Letter: W
Question
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) {coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.