Hackerrank Java If-Else Solution
In this challenge, we test your knowledge of using if-else conditional statements to automate decision-making processes. An if-else statement has the following logical flow:
Source: Wikipedia
Task
Given an integer, , perform the following conditional actions:
* If is odd, print Weird
* If is even and in the inclusive range of to