Beecrowd URI Problem 1035 Selection Test 1 Solution in C Language

 Hellow Readers!

Welcome to another c programming problem solution.

In this poat here you will get the solution of beecrowd problem 1035 Selection Test 1 in C Language.

Beecrowd URI Problem 1035 Selection Test 1 Solution in C Language

basically in this problem you will get 4 integer value as your input and maintain few conditions you have to prepare an output.

beecrowd 1035 solution



THE SOLUTION CODE IN C LANGUAGE OF BEECROWD 1035 SELECTION TEST 1 IAS BELOW :


// Author: Rayhan Hosen Refat

#include <stdio.h>

int main()

{

    int a,b,c,d;

    scanf("%d %d %d %d", &a, &b, &c, &d);

    if((b > c)  && (d > a)  && (c + d) > (a +b )  && (c > 0)  && (d > 0)  && (a % 2 == 0)){

        printf("Valores aceitos\n");

    }

    else {

        printf("Valores nao aceitos\n");

    }

    return 0;

}