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