#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int i=1;
int n,r;
int v;
cout<<"Enter a table number you want:";
cin>>n;
cout<<"Enter the Table Limit:";
cin>>v;
while(i<=v)
{
r=n*i;
cout<<n<<"*"<<i<<"="<<r<<endl;
i++;
}
getch();
return 0;}
#include <conio.h>
using namespace std;
int main()
{
int i=1;
int n,r;
int v;
cout<<"Enter a table number you want:";
cin>>n;
cout<<"Enter the Table Limit:";
cin>>v;
while(i<=v)
{
r=n*i;
cout<<n<<"*"<<i<<"="<<r<<endl;
i++;
}
getch();
return 0;}
No comments:
Post a Comment