Find the divisors of a number

If the remainder after division is 0 then that number is called divisor.For eg,if we divide 25 by 5 then the remainder is 0. So 5 is divisor of 25.In this program divisors are considered from 1 to n/2 where n is the actual number whose divisors are to be searched.Variable d is considered as divisor and if it returns 0 after division then it is printed as divisor of the number n.

#include < stdio.h >
#include < conio.h > 
void main()
{
	int n,d;	
	clrscr();
	printf("\n Enter n : ");
	scanf("%d",&n);	
	printf("\n The divisors of %d are\n",n);
	d = 1;
	while ( d<= n/2)
	{
		if ( n % d == 0 )
		{
			printf("\n%d",d);
		}		
		d++;
	} // whi;e
} // main