Write a program in C++ user input the number and then make its multiplication table source code complete

Source code to display multiplication table of an integer displayed by user in C++ programming.
C++ program to print Table of any number.The user will enter a number and its table will be printed
Here is the code of c++ program



#include <iostream>
using namespace std;
int main()
{
int a;
cout << "Enter you number you want the tabel";
cin >> a;
for (int f = 1; f <= 10; f++)
{
cout << a << "*"<<f<<"="<< f*a<<endl;
}
system("pause")
}
Previous
Next Post »