hi guys , i have a problem with my code i dont know why the compiler did not work it it have no error before i run it but after it give me error noting in screen
/* This program finds an integer between 1 and 10000 that has
the largest number of divisors. It prints out the maximum
number of divisors and an integer that has that many divisors. */
int i ;
// One of the integers whose divisors we have to count.
int max ;
// Maximum number of divisors seen so far.
// A value of N that had the given number of divisors.
// Start with the fact that 1 has 1 divisor
/* Process all the remaining values of N from 2 to 10000, and
update the values of maxDivisors and numWithMax whenever we
find a value of N that has more divisors than the current value
of maxDivisors. */
// A number to be tested to see if its a divisor of N.
// Number of divisors of N.
// Count the divisors of N.
printf("The maximum number of divisors is %d ",max);
printf("number of divisors it have is %d",nmax);