Question: PLEASE HELP!!!I need help with the following JAVA PROGRAMS. So this comes from tony gaddis starting out with java book. I have included the screenshot
PLEASE HELP!!!I need help with the following JAVA PROGRAMS. So this comes from tony gaddis starting out with java book. I have included the screenshot of the problems for reference. I need HELP implementing these two problems TOGETHER. There should be TWO class files. One which has TWO methods (one to implement problem 8, and one to implement problem 9). The second class should consist of the MAIN program with the MAIN method which calls those methods. Thank you in advance!!! Please let me know if you would like any clarification!!! ALSO please include comments if possible so I can understand better.

8. Sum of Numbers in a String Write a program that asks the user to enter a series of numbers separated by commas. Here is an example of valid input: 7,9,10,2,18,6 The program should calculate and display the sum of all the numbers. 9. Sum of Digits in a String Write a program that asks the user to enter a series of single digit numbers with nothing separating them. The program should display the sum of all the single digit numbers in the string. For example, if the user enters 2514, the method should return 12, which is the sum of 2, 5, 1, and 4. The program should also display the highest and lowest digits in the string. (Hint: Convert the string to an array.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
