Write a C++ Program to print a hollow square shape using for nested loops. 12:48:00 – by Arslan Akram C++ CODE #include<iostream> using namespace std; int main() { for(int i=1;i<=6;i++) { cout<<"*"; for(int j=1;j<=4;j++) { if(i==1||i==6) cout<<"*"; else cout<<" "; } cout<<"*"; cout<<endl; } } Email ThisBlogThis!Share to XShare to Facebook