More Precise Form with three Variables Instead of 4 Code:
#include <iostream>
using namespace std;
int tableof=5;
int tableto=10;
int counter=1;
int main()
{
while(tableof<=tableto)
{
cout<<endl<<"Table of "<<tableof<<endl;
while(counter<=10)
{
cout<<tableof<<"x"<<counter<<"="<<tableof*counter<<endl;
counter++;
}
tableof++;
counter=1;
}
return 0;
}