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")
}
Sign up here with your email
ConversionConversion EmoticonEmoticon