Posted inCoding
Find and print the element at the mid index array ignoring all the indices at which negative numbers are present in the array.
You are given an array arr of length n. Find and print the element at the mid index array ignoring all the indices at which negative numbers are present in…