Table Of Given Number






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


Output:-
Enter The Number :- 3
3
6
9
12
15
18
21
24
27
30

Comments

Popular posts from this blog

Check whether the no entered is Palindrome or not

Calculate Factorial of a given no with help of Recursion

Find max. and min. element in the integer array