IN C PROGRAMMING
Q. ARRAY330
Given an array of ints, compute recursively if the arraycontains somewhere a value followed in the array by that valuetimes 10. We’ll use the convention of considering only the part ofthe array that begins at the given index. In this way, a recursivecall can pass index+1 to move down the array. The initial call willpass in index as 0.
array330([1, 2, 20], 3, 0) → true
array330([3, 30], 2, 0) → true
array330([3], 1, 0) → false
array330([1, 2, 3, 4, 5, 6], 6, 0) → false
array330([1, 2, 3, 4, 4, 50, 500, 6], 7, 0) → true
array330([], 0, 0) →
PayPal Gateway not configured
PayPal Gateway not configured