PROGRAM ON ENTERING A TABLE
#include<iostream.h>
#include<conio.h>
void main()
{
int num;
clrscr();
cout<<"\n"<<"Enter the no.";
cin>>num;
for(int i=1;i<10;i++)
cout<<"\n"<<num<<"*"<<i<<"="<<num*i;
getch();
}
#include<conio.h>
void main()
{
int num;
clrscr();
cout<<"\n"<<"Enter the no.";
cin>>num;
for(int i=1;i<10;i++)
cout<<"\n"<<num<<"*"<<i<<"="<<num*i;
getch();
}
Comments
Post a Comment