if the number is even and less than 15, print a // if the number is even and more than 15, print b // if the number is odd and less than 10, print c // if the number is odd and more than 10, print d // We need to solve this using two methods // method 1:
if the number is even and less than 15, print a // if the number is even and more than 15, print b // if the number is odd and less than 10, print c // if the number is odd and more than 10, print d // We need to solve this using two methods // method 1:
Register to vote on and add code examples. Join our developer community to improve your dev skills and code like a boss!
No Good?
Help us improve our code examples by registering to vote on and add answers. Join our developer community to improve your dev skills and code like a boss!