Search:

Type: Posts; User: JlovesJava

Search: Search took 0.17 seconds.

  1. Replies
    5
    Views
    1,313

    Re: Getting multi mode problem

    Required output is commented at the bottom of the codes. If you already saw that and think it wasn't clear enough, the output should be the mode of the given data. In this case, there should be two...
  2. Replies
    5
    Views
    1,313

    Re: Getting multi mode problem

    I was trying to say print all the values that has equal number of repetitions, but I didn't see those two * * characters while posting. I am sorry for that.
  3. Replies
    5
    Views
    1,313

    Getting multi mode problem

    public class MmM{
    public static void main(String[] args)
    {

    double[] data = {1, 1, 2, 2, 3 };

    MmM.mode(data);
    }
    public static void mode(double [ ] numArray)
    ...
Results 1 to 3 of 3