1) Given an integer input between 1- 100 captured from a user perform the following conditional actions: - If is odd, print ODD - If is even and in the inclusive range of 2 to 5 , print EVEN1 - If is...


Please use Java code to complete the question in the attatchment.


1) Given an integer input between 1- 100 captured from a user perform the following<br>conditional actions:<br>- If is odd, print ODD<br>- If is even and in the inclusive range of 2 to 5 , print EVEN1<br>- If is even and in the inclusive range of 6 to 20, print EVEN2<br>- If is even and greater than 20, print EVEN3<br>- Validate your algorithm works for all cases<br>

Extracted text: 1) Given an integer input between 1- 100 captured from a user perform the following conditional actions: - If is odd, print ODD - If is even and in the inclusive range of 2 to 5 , print EVEN1 - If is even and in the inclusive range of 6 to 20, print EVEN2 - If is even and greater than 20, print EVEN3 - Validate your algorithm works for all cases

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here