Friday, 2 May 2014

Write a program that inputs a number and display its table.

1 comment

write a program that inputs a number and display its table

#include <iostream>
# include <conio.h>

using namespace std;

int main()
{
int N;
cout<<"Enter an integer";
cin>>N;

for(int i=1;i<=10; i++)
cout<<N <<"X"<<i<<"\t"<< (N*i)<<endl;

return 0;
}
 


If You Enjoyed This, Take 5 Seconds To Share It