Ad Code

Write a program to print a table of given number.

  Write a program to print a table of given number.



#include<stdio.h>
#include<conio.h>
void main()
{
int i=1 ,n, tab;
clrscr();
printf(“enter the first number”);
scanf(“%d”,&n);
while(i<=10)
{
tab=n*i ;
printf(“%d”,tab);
i++;
}
getch();
}

Post a Comment

0 Comments

Ad Code