Our Recommendation for You Search your Query, You can find easily. for example search by book name or course name or any other which is related to your education

Followers

code of c++ for table


This is the code for writing table by using c++

#include<iostream.h>
main()
{
      int counter,number,maxmultipiler;
      cout<<"please enter the value for which you want a table:";
      cin>>number;
      cout<<"please enter the value up to which you want the table:";
      cin>>maxmultipiler;
      for(counter=1;counter<=maxmultipiler;counter=counter+1)
      {
      cout<<number<<"x"<<counter<<"="<<number*counter<<"\n";
      }
   system("pause");
      }