Beecrowd Problem 1074 – “Even or Odd” solution( Bangla ) | C language

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

#include <stdio.h>

int main()
    int arr[10000],i,n;
    scanf("%d", &n);
    for(i = 0;i < n;i++){
        scanf("%d", &arr[i]);
    for(i = 0;i < n;i++){
            if (arr[i] == 0)printf("NULL\n");
            else if (arr[i] > 0 ){
             if(arr[i]%2 == 0)printf("EVEN POSITIVE\n");
             else printf("ODD POSITIVE\n");
        else if (arr[i] < 0){
                if (arr[i]%2 == 0)printf("EVEN NEGATIVE\n");
            else printf("ODD NEGATIVE\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