Being a Programmer you have to learn how to make your output looks better. According to the company, its company programmers have to present its output in a different manner as : If your output is 10.000000 you can save the decimal places and thus your output becomes 10. Now u have the learn the way to output. You are given elements of an array A[N] and you have to divide N by total no. of +ve integers, N by total no. of -ve integers and N by total no. of zero value integers.
The first line of input contains an integer T denoting the no of test cases. Then T test cases follow.
Second line contains N - array size. Third line contains the elements of array.
For each test case in a new line print the division value of
N by Total no. of +ve integers
N by Total no. of -ve integers
N by Total no. of zero value integers
1 ≤ T ≤ 50
1 ≤ N ≤ 100
1 ≤ A[i] ≤ 1000
7 7 7 7 7 7 -9 -9 -9 0
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.