Create subarray that consists of integers divisible by 2 but not 4

Given an array of integers. We have to find contigous subarray product which is not
divisible by 4 but divisible by 2.

@PritikaSharma It's important that you do not just post a problem without a little bit of context. Tell us where you are stuck and what programming language your are dealing with.