I have been trying to solve these 2 problems but I have been having extreme difficulty with them. I am not that great with java as I am just beginning. I would greatly appreciate if you could solve them. While they may be simple, I dont know what I am doing. Thank You
Can you guys please solve these two problems. 10 points
1. Write a program that reads and sums positive integer values until a sentinal value of zero is input, using a while loop
2. Write a program that reads positive interger values until a sentinal value of zero is input and computes their average, using a while loop.