import java.util.Scanner;
public class cheese_ArrayList
{
double[] list;// = new double[]; //store double values input by user
private double sum, average, large, small;
...
Type: Posts; User: Iamthecheese
import java.util.Scanner;
public class cheese_ArrayList
{
double[] list;// = new double[]; //store double values input by user
private double sum, average, large, small;
...
oh, sorry, it's under input. Assuming it's because of the no scanner thing. But how do I globalize the scanner to accept user input without a main? should I just put it in getData()?
Okay, I now realize that I have a bigger problem. I know the UML Diagram goes as follows:
cheese_ArrayList
------------------------------------------------------
- ARRAY_MAX : Integer (FINAL) =...
Thank you so much! I feel so stupid...that's what I get for not taking programming for 2 years :/
I was wondering if fixing this debacle would fix my list[ count ] reference in the processData()...
Hello, I'm trying to do a program that asks the user to input double values and display the values, along with the sum, average, largest and smallest. The limit of inputs is 15. I have to clear...