Question: Problem Four Given an integer, n, perform the following conditional actions: If is odd, print Weird If is even and in the inclusive range

Problem Four Given an integer, n, perform the following conditional actions: If is odd, print Weird If is even and in the inclusive range of 2 to 5, print Not Weird If is even and in the inclusive range of 6 to 20, print Weird If is even and greater than 20, print Not Weird weird (24) Not Weird
Step by Step Solution
3.32 Rating (143 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
