We all know what is table of a number.
Here is the code to print table of a number in c, entered by the user.
CODE:
#include<iostream> using namespace std; int main() { int num; cout<<"Enter Number To Find Multiplication table "; cin>>num; for(int a=1;a<=10;a++) { cout<<num<<" * "<<a<<" = "<<num*a<<endl; } return 0; }