He actually did that quiet a few times. I wonder if he means <=?
for (i = 2; i == (np + 1); i++) { // Here
p = s.next();
names[i-2] = p ;
table.put(p,0) ;...
Type: Posts; User: Brt93yoda
He actually did that quiet a few times. I wonder if he means <=?
for (i = 2; i == (np + 1); i++) { // Here
p = s.next();
names[i-2] = p ;
table.put(p,0) ;...
Welcome to the forums! When you post code surround it in tags, it makes your code alot easier. It looks like the following line is your problem.
Scanner s = new Scanner(new File("friday.in"));
...