table using while loop

check screenshot must



 source code

____________________________________________________________________

#include<iostream>

using namespace std;

void main()

{

int x, y, z=0;

cout << "Enter table number=";

cin >> x;

cout << "Enter table limit=";

cin >> y;

while (z < y)

{

cout << x << "x" << ++z << "=" << x * z << endl;

}

}