Hey, thanks for your input for the code. I tweaked with it and it finally works! Here is what I have:
public class SumAndAverage {
public static void main(String [] args) {
// Object...
Type: Posts; User: Raiderofrice
Hey, thanks for your input for the code. I tweaked with it and it finally works! Here is what I have:
public class SumAndAverage {
public static void main(String [] args) {
// Object...
Solved! Answer is down below.
-----
Almost have it figured out... However, every time the program loops, I think the sum and average get reset to sum=0 and average=1, and I cannot figure out a way...