Let us consider an array with real values(positive and negative) Determine a subarray containing elements with alternant signs(a positive element is followe