Program to print the Mathematical table of a given number | C++ Programming

C++ is a general-purpose programming language. It has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation.
Program to print the Mathematical table of a given number | C++ Programming
//Program to print the Mathematical table of a given number
#include<iostream.h>
#include<conio.h>
#include<math.h>
 void main()
 {clrscr();
int i,num;
cout<<"\n Enter The Number :";
cin>>num;
for(i=1;i<=10;i++)
{
cout<<num<<"*"<<i<<"="<<num*i<<endl;
}
getch();
}
Program to print the Mathematical table of a given number | C++ Programming Program to print the Mathematical table of a given number | C++ Programming Reviewed by SHERE KHOJRAHA on February 13, 2019 Rating: 5

No comments:

Powered by Blogger.