Write a static method named evenNumbers that accepts a string of text as a parameter. Assume that the text is a series of integers, and process this text and report various statistics about the integers. Report the total number of numbers, the sum of the numbers, the total count of even numbers and the percent of even numbers. For example, if the string is the following:
“5 7 2 8 9 10 12 98 7 14 20 22”
Your method should produce the following output.
Total numbers = 12
Sum of numbers = 214
Total evens = 8
Percent evens = 66.66666666666667
This is the first question on my homework assignment and the rest that follow are similar, I am not seeking a solution to the question, I am seeking to better understand how to accomplish this step by step so that I can accomplish the rest of my assignment.