WAP to Print Table Of Given No.
#include<iostream.h>
#include<conio.h>
void main()
{ int num,i;
cout<<"\n Enter the no.";
cin>>num;
for(i=1;i<=11;++i)
cout<<"\n"<<num<<"*"<<i<<"="<<num*i;
getch();
}
#include<conio.h>
void main()
{ int num,i;
cout<<"\n Enter the no.";
cin>>num;
for(i=1;i<=11;++i)
cout<<"\n"<<num<<"*"<<i<<"="<<num*i;
getch();
}
Comments
Post a Comment