Search:

Type: Posts; User: blobman23

Search: Search took 0.09 seconds.

  1. Re: I cannot figure out what the errors mean nor how to correct them. Please help.

    Thanks everyone for the help. I finished the program and got it working. Here is what I ended up with. If anyone has suggestions or tips, please let me know.

    My code:


    import java.io.Console;...
  2. Re: I cannot figure out what the errors mean nor how to correct them. Please help.

    I initialized them before the while loop.
  3. Re: I cannot figure out what the errors mean nor how to correct them. Please help.

    I'm not sure what happened. I must have copied the wrong thing. The compile error that you got, was what I got.

    This:

    Project.java:35: variable length might not have been initialized
    ...
  4. Re: I cannot figure out what the errors mean nor how to correct them. Please help.

    Okay, here is my new code:


    import java.io.Console;
    import java.util.*;
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.FileNotFoundException;
    import...
  5. Re: I cannot figure out what the errors mean nor how to correct them. Please help.

    I apologize, I forgot to explain the program. Basically it's reading a list of grades from a file and putting a letter grade to them. It outputs the total number of each letter grade. The first...
  6. I cannot figure out what the errors mean nor how to correct them. Please help.

    Here is the input file "test.txt" is:

    5

    55 65 75 85 95

    Here is my code:


    import java.io.Console;
Results 1 to 6 of 6