HomeC++

C++ Program To Print Table of Any Number with Number of Turns

C++ Program To Print Table of Any Number with Number of Turns

we make a Simple Program in C++ Program to Print Table of Any Number with any Number of Turns it is Very easy.You Try Also.

C++ Program to Print Table of Any Number

#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int number;
int end;
int c;
cout<<"Enter the Table Number"<<endl;
cin>>number;
cout<<"Enter the Number of Turns "<<endl;
cin>>end;
for(int b=1;b<=end;b++)
{
c=number*b;
cout<<number<<" * "<<b<<" = "<<c<<endl;
}
system("pause");
return 0;
}

Output of ProgramC++ Program To Print Table of Any Number

Comments (0)

Leave a Reply