Search:

Type: Posts; User: Twoacross

Search: Search took 0.22 seconds.

  1. Replies
    5
    Views
    3,009

    Re: Creating a program that reads from a file

    Im trying to create a histogram which reads values from a txt file and then displays how many of each corresponds in each interval.

    For:



    while (n < 0);
    {
    int[] numbers = new int[n];
    }
  2. Replies
    5
    Views
    3,009

    Re: Creating a program that reads from a file

    Exception in thread "main" java.lang.Error: Unresolved compilation problem:
    numbers cannot be resolved to a variable

    at Histogram.initializeCounterArray(Histogram.java:85)
    at...
  3. Replies
    5
    Views
    3,009

    Creating a program that reads from a file

    Im working on a problem today and I getting errors for some reason.

    Problem statement:



    Design and implement an application that creates a histogram,
    which allows you to visually inspect...
Results 1 to 3 of 3