Wednesday, 17 July 2013


#include "stdafx.h"
#include "stdio.h"
#include "iostream"
#include "conio.h"

using namespace std; 

int _tmain(int argc, _TCHAR* argv[])
{
       int n;
       int a;
       int b;
       cout<<"enter number whose table is requried";
       cin>>n;

       for(a=1;a<=10;a++)
       {
       b=n*a;
       cout<<n<<"*"<<a<<"="<<b<<endl;
      
       }
       getch();      

}

0 comments :

Post a Comment