Table

Program to print the Table of inserted number


#include <iostream.h>

#include <conio.h>

int main()

{

int i,j;

cout<<"Enter number: ";

cin>>i;

for (j=1;j<=200;j++)  

{

cout<<i<<" x "<<j<<" = "<<i*j<<endl;   

}

getch();

return 0;

}

No comments :

Post a Comment