URI Problem 2510 (Batmain) solution( Bangla ) | C language

**Before watching this make sure that you’ve tried enough**

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

int main()

{
    int i,t,l;
    scanf("%d",&t);
    char str[100];
    for(i = 0;i < t;i++){
        scanf("%s",str);
        l=strlen(str);
        if(l>0 && l<=25)printf("Y\n");
        else printf("N\n");
    }
    return 0;
}

 

If this solution helped you, please share this with your friends.
And if you have anything to say, let me know in the comment section.

More solutions are coming so Like our Facebook page and Subscribe to our YouTube channel to stay connected.

Leave a Comment