Monday, 24 August 2015

Write a C Program To Print Multiplication Table

#include<stdio.h>
#include<conio.h>

int main()
{
            int i,j,n;
            clrscr();

            printf("Enter the number : ");
            scanf("%d",&n);

            for(i=1;i<=10;i++)
            {
                        printf("\n %d * %d = %d",n,i,i*n);
            }

            getch();

            return 0;

}

No comments:

Post a Comment