Challenge 1: Even or Odd
Explore how to apply Java conditional statements to determine whether a given number is even or odd. This lesson helps you practice writing fundamental if-else logic and prepares you to solve simple programming challenges confidently.
We'll cover the following...
We'll cover the following...
Problem statement
A group of friends rolls a dice, and they want to figure out whether the number that comes is an even number or an odd number. They employ your coding skills to figure it out.
...