![how to make a table in c++ how to make a table using c++](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnb3ro6Ed6WvHvzcGJHmrvPi4uJVUG6tqTZSex2Gez5KXQGR0dbVCSiegM2PPA9CKyhHjHFC5BvYr02Z_kBMVzzC0JhBIMMOus8AmHLD2FHrrlW4b4JvbsJhyjV7UmmjiPjY2QNZVtbYY/s1600/c+++copy.png)
How to make a table in c++:-
I also tell you about write the table using c++ before,But now i tell you a different method to write your desired table in c++ using while loop in c++. So try this it is very simple to learn.
#include<iostream.h>
#include<conio.h>
main()
{
int x,y,z;
y=1;
cout<<"enter the value for which you want the table:";
cin>>x;
cout<<"enter the value up to which you want the table:";
cin>>z;
while(y<=z)
{
cout<<x<<"*"<<y<<"="<<y*x<<endl;
y=y+1;
}
getch();
}
End