Ad
#include <iostream>

using namespace std;

int main()
{
	int rows,columns;
	cout << "How many rows and columns does your table have?\n";
	cin >> rows >> columns;
	getchar();
	
		for(int i = 0;i<rows;i++)
    {
        for(int j=0;j<columns;j++)
        {
        		cout << "* ";
        }
        cout << endl;
    }
}