C # program to find the count of index pairs in the array positive range product
using System ; class GFG { public static void positiveProduct ( int [ ] arr , int n ) { int even_count = 0 ; int odd_count = 0 ; int total_count = 0 ; int ans = 0 ; for ( int i = 0 ; i < n ; i ++ ) {