Search:

Type: Posts; User: helloworld922

Search: Search took 0.13 seconds.

  1. Replies
    8
    Views
    2,818

    [SOLVED] Re: I Need some help for a java project

    A recursive algorithm for finding the average can go something like this (I hope this works):


    // pseudo-code
    double Average(double[] data, int startingLocation)

    if startingLocation is...
  2. Replies
    8
    Views
    2,818

    [SOLVED] Re: I Need some help for a java project

    It's reading it as one string because they aren't separated by spaces. The simple answer is to change the separator type when reading that last line to be separated by a comment also.


    Scanner...
Results 1 to 2 of 2