Wednesday 12 September 2012

table print

#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
clrscr();
int a,b=1,limit;
cout<<"Enter the number= ";
cin>>a;
cout<<"\nEnter the limit= ";
cin>>limit;
while(b<=limit)
{
  cout<<"\n"<<a<<" * "<<b<<" = "<<a*b<<"\n";
  b=b++;
  }
  getch();
  }

1 comment:

  1. Hi Mughees, Pls give me ur email address I have some queries regarding custom keyboard.

    ReplyDelete