Here's the code. It says a variable is not initialized, despite defining it at the top of the code after main function.

```
#include<stdio.h>
int main()
{
    int n, sum=0; i=0;
    printf("Please enter a number to evaluate\n");
    scanf_s("%d",&n);

    for(i=0; i<=n; i++)
    {
        double(sum) = sum + double(1/n);
    }

    sum = (int)sum;

    if(sum == 1)
    {
        printf("Adding %d 1/%d's gives a result of 1\n",n,n);
    }
    if(sum <= 1)
    {
        printf("Adding %d 1/%d's gives a result less than 1\n",n,n);
    }
    if(sum >= 1)
    {
        printf("Adding %d 1/%d's gives a result greater than 1\n",n,n);
    }
return(0);
}

```