Search This Blog

Uri Online judge - 1035| Selection Test 1 | problem solution in c

Read 4 integer values A, B, C and D. Then if B is greater than C and D is greater than A and if the sum of C and D is greater than the sum of A and B and if C and D were positives values and if A is even, write the message “Valores aceitos” (Accepted values). Otherwise, write the message “Valores nao aceitos” (Values not accepted).


Four integer numbers A, B, C and D.


Show the corresponding message after the validation of the values​​.

Solution: Read my solution

No comments

Powered by Blogger.