URI Problem 1115 – “Quadrant ” solution( Bangla ) | C language

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


int main()
    int a, b, i;
    for(i = 0;i < 100;i++){
    scanf("%d %d", &a, &b);
    if (a==0 || b==0)break;
    else if (a>0 && b>0)printf("primeiro\n");
    else if (a<0 && b>0)printf("segundo\n");
    else if (a<0 && b<0)printf("terceiro\n");
    else if (a>0 && b<0)printf("quarto\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