C Program for DIVISER
void main()
{
int result,number,min;
clrscr();
printf("ENTER THE NUMBER=");
flushall();
scanf("%d",&number);
min=1;
while (min<=number)
{
result=number%min;
if(result==0)
{
printf("THE NUMBER IS DIVISIBLE BY=%d\n",min);
}
min=min+1;
}
getch();
}
OUTPUT :
ENTER THE NO: 10
THE NO IS DIVISIBLE BY : 1
THE NO IS DIVISIBLE BY : 2
THE NO IS DIVISIBLE BY : 5
THE NO IS DIVISIBLE BY : 10