• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting the largest element in an array

 
WeiJie Lim
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Why is there no output result ? =/ .

Thanks in advance for any help.
 
WeiJie Lim
Ranch Hand
Posts: 92
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, found out that I stupidly didn't put any system.out.println .. Sorry people.
 
fred rosenberger
lowercase baba
Bartender
Pie
Posts: 12015
24
Chrome Java Linux
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad you figured it out.

And believe me, you are much more likely to remember things like this when you figure it out yourself than when someone tells you. Everyone here who has ever written more than 10 lines of code has made such mistakes...It's part of the learning process.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic