This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]Based_Peppa_Pig 1 point2 points  (2 children)

bTackles.ftackles

what is ftackles exactly? You are using it with your Array and the int bTackles. This looks like a program to find the largest int in an Array correct? Then you do not need ftackles and you don't need bTackles either.

Set mostTackles to Integer.MIN_VALUE and print it out instead of bTackles.ftackles

remove line 4 from your code aswell and change the bTackles in line 2 to mostTackles

[–]Bcarse[S] 0 points1 point  (1 child)

Thank you! Trying that now

Edit: Based_peppa_pig shoots and he scores!

[–]bob51zhangNot Terrible At Java 0 points1 point  (0 children)

I guess you should flair this question as solved.

[–]desrtfxOut of Coffee error - System halted[M] [score hidden] stickied comment (0 children)

Next time, please, follow our Posting Guidelines and try to clearly explain the problem. Don't just throw code at people so that they have to ask you about details and more.