/PROG 33
#include<iostream.h>
#include<conio.h>
void main()
{
int table,length,c;
cout<<"enter table"<<endl;
cin>>table;
cout<<"enter length"<<endl;
cin>>length;
for(c=1;c<=length;c++)
cout<<table<<"*"<<c<<"="<<table*c<<endl;
getch();
}
#include<iostream.h>
#include<conio.h>
void main()
{
int table,length,c;
cout<<"enter table"<<endl;
cin>>table;
cout<<"enter length"<<endl;
cin>>length;
for(c=1;c<=length;c++)
cout<<table<<"*"<<c<<"="<<table*c<<endl;
getch();
}
0 comments:
Post a Comment