Search:

Type: Posts; User: Kristenw17

Search: Search took 0.08 seconds.

  1. Replies
    4
    Views
    1,747

    Re: File reading issues

    line = file.next();
    System.out.println(line);

    I did the print line to make sure that the fractions were in fact filling the array. They are not. I can't figure out how to put the numbers into the...
  2. Replies
    4
    Views
    1,747

    File reading issues

    So my end goal is to have read a file containing fractions, and be able to count the number of times a specific fraction appears.
    Example file:
    6/3
    7/2
    6/3
    5/2

    So far I have been able to get...
Results 1 to 2 of 2