• Auction
MapleStory guides, forums, screens, videos, auctions and new friends await! Signup or login
 5Comments java question MapleStory Forums : Chat : Talk about topics not related to MS prestigechef Yellonde Luminous 4LuxManus How come this is giving me no output: http://pastebin.com/bHDtZ9za Jun 20 13 Good post - thumbs up! Replies Bellocan Herometaghost What if.... acount == bcount I read the entire code and the number of a's equals the number of b's I re-read it it should be like the code underneath me, don't forget to add an else statement in case there are two of the same amount. Jun 20 13* Good post - thumbs up! New MapleStory Screen: New novan job hint? New LoL/Minecraft/Pokemon Video: Pokemon x & y with french influence Broa BishopTheLastWand if (acount > bcount && bcount > ccount) highest = "acount"; else if (bcount > acount && acount > ccount) highest = "bcount"; else if (ccount > acount && acount > bcount) highest = "ccount"; these lines of code are wrong. Change it to if (acount > bcount && acount > ccount) highest = "acount"; else if (bcount > acount && bcount > ccount) highest = "bcount"; else if (ccount > acount && ccount > bcount) highest = "ccount"; And write something that checks for equals Jun 20 13* Good post - thumbs up! Mardia Dragon Knightpuzzless You don't account for one count equaling another count dumb ghost boy ninja Jun 20 13* Good post - thumbs up! Windia ShadowerPepditz acount = 2 bcount = 2 ccount = 3 None of your if statements evaluate to true when two of the counts are equal. Jun 20 13 Good post - thumbs up! New MapleStory Screen: Dojo completed 150 times. Yellonde Luminous 4LuxManus 574657: Thank you, you're right. Jun 20 13 Good post - thumbs up! Register / login You must be a member to reply or post. signup or login