Thursday, March 8, 2012

Program to Print Table of any no

//table of any no
#include<stdio.h>
#include<conio.h>
main()
{
      int i,n,m;
      printf("Enter any no-");
      scanf("%d",&n);
      for(i=1;i<=10;i++)
      {    m=n*i;
                        printf("%d",m);
                        printf("\n");
      }
      getch();
      }

No comments:

Post a Comment