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];
        char n='';
        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=n+B;
            }
        }
        printf("%s\n",n);
    }
    return 0;
}

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

What’s the issue you are facing?

@dorothy77
Have corrected your code . u have done few little 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++)
    {

            int A=s[i]-'a';
            char B='z'-A;
            printf("%c",B);
    }
    printf("\n");
}
return 0;

}