#include <iostream>
using namespace std;
int main() {
int x;
cout<<" enter a number of rows : "<<endl;
cin>>x;
int n;
cout<<" enter number of coloumns : "<<endl;
cin>>n;
for ( int i=1; i<=x ; i++){
for ( int i = 1 ; i<=n ; i++)
{cout<<"*";}
cout<<endl;
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: