Conditionals and loops- Exercises III: Problems 1, 2, 3.
Write an R code that asks the user to enter an integer. Your code should print out whether the number is odd or even. You should use the %% operator of R. a%%b gives the remainder of the division a/b. For example: 21%%2 is 1, but 22%%2 is 0.