String (array of chars) that can hold 1000 characters and Calculate the frequency of the letter e within the string

hi I am having some issues to copile
what I need
program that tests this on a string.
Create a string (array of chars) that can hold 1000 characters.
Prompt the user to enter a string.
Calculate the frequency of the letter e within the string

so far this is what I have:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define CURRENT_CHART 1000

int main()

{
char c[1000];
int i,eCounter=0,stringLength =0;
printf(“Enter your string: “);
scanf(”%s”,c);
double frecuency ;

while (c[i] != '\0')
{
    if (c[i] >= 'a' && c[i] <= 'z')
    {
        c[i] -= 32;
    }
    if (c[i] == '\n')
    {
        c[i] = '\0';
    }
    
    i++;


}


 printf("frecuency of %i = %lf \n",c);

system ("pause");

}

Using an int variable, you should count the number of occurrences of the letter E (increment a variable inside a if statement). Then, at the end, you print (double)occurrences / i.