Choose one:
- Write a guessing game where the user has to guess a secret number.
- After every guess the program tells the user whether their number was too large or too small.
- At the end the number of tries needed should be printed.
- Write a program in Java to check if a number is even or odd in Java?
- e.g user inputs 2 console outputs 'true', input 3 : output false, etc)
(Hint - A number is called even if it is completely divisible by two and odd if it’s not completely divisible by two. For example number 4 is even number because when you do 4/2 , remainder is 0. On the other hand 5 is odd number because 5/2 will result in remainder as 1)