#include<iostream>
#include<cmath>
using namespace std;
#define PI 3.14
int main()
{ int i,n,table;
cout<<"enter the number n"<<endl;
cin>>n;
cout<<"The table of" <<n<< "is"<<endl;
for(i=1;i<=10;i++)
{
table=n*i;
cout<<"n*i= "<<table<<endl;
}
#include<cmath>
using namespace std;
#define PI 3.14
int main()
{ int i,n,table;
cout<<"enter the number n"<<endl;
cin>>n;
cout<<"The table of" <<n<< "is"<<endl;
for(i=1;i<=10;i++)
{
table=n*i;
cout<<"n*i= "<<table<<endl;
}
No comments:
Post a Comment