C++ Program to Count Positive and Negative Numbers in an Array
Given an array arr of integers of the size of N, our task is to find the count of positive numbers and negative numbers in the array. Examples: Input: arr[] = [-9,7,-5,3,2]Output: Positive elements = 3, Negative elements = 2 Input: arr[] = [5,4,-2,-1,-7]Output: Positive elements = 2, Negative elemen