int main()//Couting the frequency of word 'the' in a sentence
{
       int i,n;
  char t,h,e,space;
    int wcount=0;
    char input[100];
    gets(input);
    n=strlen(input);
    for(i=0;i<=n-3;i++)
    {
        t=(input[i]=='t' || input[i]=='T');
        h=(input[i+1]=='h' || input[i+1]=='H');
        e=(input[i+2]=='e' || input[i+2]=='E');
        space=(input[i+3]==' ' || input[i+3]=='\0');
        if((t&&h&&e&&space)==1)
            wcount++;
    }
        printf("The frequency of word 'the' is %d",wcount);
}
この C プログラムは、指定された文で単語 'the' の頻度を検出します。このプログラムは、特定の文に存在する単語「the」の出現を見つけるために使用されます。「the」単語が出現した回数を表示します。
Can someone explain the meaning of statement:
 t=(input[i]=='t' || input[i]=='T');
        h=(input[i+1]=='h' || input[i+1]=='H');
        e=(input[i+2]=='e' || input[i+2]=='E');
        space=(input[i+3]==' ' || input[i+3]=='\0');