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...
Type: Posts; User: Kristenw17
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...
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...