Postive sales
Problem Statement: The e-commerce company has a list of sales values of N days. Some days the company made a profit, represented as a positive sales value, other days the company incurred a loss, represented as a negative sales value. The company wishes to know the number of profitable days in the list Write the algorithm to help the company know the number of profitable days in the list. INPUT FORMAT The first line of input consists of an integer - numDays representing the number of days [N]. The second line of input consists of N space separated integers sales[0], sales[1], ...... sales[N-1] representing the sales value of N days respectively. OUTPUT FORMAT Print an integer representing the number of days the company made a profit. Evaluation Parameters Sample Input 7 23 -7 13 -34 56 43 -12 Sample Output 4 Explanation The number of positive sales values in the list is 4. Hence the output is 4. OUTPUT: https://code.sololearn.com/chYKKgZ021Q3/?ref=app