How to print:
Number is equal to: 1 and it is odd number
Number is equal to: 2 and it is even number
Number is equal to: 3 and it is odd number
Number is equal to: 4 and it is even number
in the console using java
using 1 if statement, 1 while loop, 1 else loop also using % to check odds and evens