MOBILE ZONE
Science academy
Pages
Home
About
How to blog
Technology/track
Quotes/Ahadees/sms
Education/engineering projects
Health
General Science
Monday, 30 March 2015
How to find out table of any number in C++
To Find Table Of Any Number
:
#include<iostream.h>
#include<conio.h>
void main()
{
int num,n;
cout<<"enter number to find its multiplication table ";
cin>>num;
for(n=1;n<=10;n++)
{
cout<<num<<"*"<<n<<"="<<num*n<<endl;
}
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment