Help me in solving STRCC11 problem

My issue

My code

#include <stdio.h>
#include <string.h>

int main() 
{
    int t;
    scanf("%d", &t);
    
    while (t--)
    {
        char s[100];
        
        scanf("%s",s);
        for(int i=0;i<strlen(s);i++)
        {
            if(s[i]>'a' && s[i]<'z')
            {   
                char A=s[i]-'a';
                char B='z'-A;
                char =n+B;
            }
        }
        printf("%s\n",n);
    }
    return 0;
}

Learning course: Solve Programming problems using C
Problem Link: CodeChef: Practical coding for everyone

@dorothy77 there are some small mistakes. I have updated your code a little. I’m giving the code below. You might find this code useful and could understand your mistakes.

include <stdio.h>
include <string.h>

int main()
{
int t;
scanf(“%d”, &t);

while (t--)
{
    char s[100];
    scanf("%s",s);
    for(int i=0;i<strlen(s);i++)
    {
        if(s[i] >='a' && s[i] <= 'z')
        {   
            char A=s[i]-'a';
            char B='z'-A;
            printf("%c",B);
        }
    }
    printf("\n");
}
return 0;

}