Wednesday, 9 April 2014
Write a c++ program to find multiplication table of number
Do you like this story?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include<iostream.h> #include<conio.h> void main(){ clrscr(); int n,i; i=1; cout<<"Enter a number : "; cin>>n; while(i<=10) { cout<<n<<"*"<<i<<"="<<n*i<<endl; i=i+1; } getch(); } |
OUTPUT
