Print table of any number

C Program to Print table of any number


#include<conio.h>
#include<stdio.h>
void main()
{
    int n ,i;
    clrscr();
    printf("Enter Number for Table print: ");
    scanf("%d",&n);
    for(i=1;i<=10;i++)
    {
        printf("\n %d x %d = %d",n,i,n*i);
    }
    getch();
}

out put :

 

Comments

Popular posts from this blog

SKILL ROCKS TECH QUESTIONS

C Program for Analog Clock Design

Php Check is date or not