#include <iostream>
using namespace std;
int main() {
int n=7;
for(int i=0;i<n;i++){//outer
char ch='A';
for(int j=0;j<n;j++){//inner start=>line start
cout<<ch<<" ";
ch=ch+1;
}
cout<<endl;
}
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: