Problem 7 write a code that will ask the user to input a vector of values F. Then calculate the number of positive and negative values in that vector. Don\'t use any built-in functions (eag sum, find, abs, max, min, etc Example: (four positive values [3 8 1910 N-3 (three negative values [-2 -4 -7 l) Solution import java.util.Scanner; public class JavaProgram { public static void main(String args[]) { int countp=0, countn=0, countz=0, i; int arr[] = new int[10]; Scanner scan = new Scanner(System.in); System.out.print(\"Enter 10 Numbers : \"); for(i=0; i<10; i++) { arr[i] = scan.nextInt(); } for(i=0; i<10; i++) { if(arr[i] < 0) { countn++; } else if(arr[i] == 0) { countz++; } else { countp++; } } System.out.print(countp + \" Positive Numbers\"); System.out.print(\"\ \" + countn + \" Negative Numbers\"); System.out.print(\"\ \" + countz + \" Zero\"); } } .