#include <iostream>
using namespace std;

int main() {
    int n=7;
    
    for(int i=1;i<=n;i++){//outer

        for(int j=1;j<=n;j++){//inner
            cout<<"*"<< " ";
        }

        cout<<endl;
    }
    
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: