This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes help printing output Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "help printing output" Watch "help printing output" New topic
Author

help printing output

Troy Johnson
Greenhorn

Joined: Sep 24, 2003
Posts: 20
Hello again. I am having trouble figuring out how to print and display the output of my code. I am trying to display the information when the program runs in the following manor:
Team 1 is up to bat:
Jason Crisp (average = 300.0) is out.
Rusty Johnson (average = 170.0) gets a hit.
Team 2 is up to bat:
Kevin McArthur (average = 375.0) is out.
Jason Harpham (average = 210.0) is out.
Could anyone offer any other suggestions or insight to what I am doing wrong. Thanks again.
Here is my code:
Lisa D'Aniello
Ranch Hand

Joined: Sep 25, 2003
Posts: 42
At first glance, you're storing all of your player data in the same array index.
Hope this helps a little bit,
Lisa M.
 
Have you checked out Aspose?
 
subject: help printing output
 
It's not a secret anymore!