#include <iostream>
using namespace std;

int main() {
    int filas, columnas;
    cout << "Filas: "; cin >> filas;
    cout << "Columnas: "; cin >> columnas;
    
    for(int i = 0; i < filas; i++) {
        for(int j = 0; j < columnas; j++) {
            cout << "*";
        }
        cout << "\n";
    }
    return 0;
}

Embed on website

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