Write the code to complete the method, calculatePositiveSum(…
Write the code to complete the method, calculatePositiveSum(), as defined below. This method prompts the user to enter a list of positive numbers until a sentinel of 0 is entered. Use the prompt: “Enter a list of positive numbers to be accumulated (or 0 to quit):” All positive numbers (ignore all negative entries) will be accumulated in the sum, which will be returned by the method. Code submitted in the text box supplied must include the complete method signature and body, using the correct data types based on the problem statement.