aspose file tools*
The moose likes Cattle Drive and the fly likes Tasks on the cattle drive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Tasks on the cattle drive" Watch "Tasks on the cattle drive" New topic
Author

Tasks on the cattle drive

Thomas Schmitz
Greenhorn

Joined: Mar 11, 2008
Posts: 2
Hello,
i'm new on the cattle drive and i need some help for the 5. task with the number matrix. I know that i need two for loops to solve the task and i know that i must save some results in a string but i don't know how.
Can you help me with the task?
I don't know how to start the solution and i don't know how to save a result in a string.
Please help me
Nick White
Ranch Hand

Joined: Oct 09, 2006
Posts: 94
Hi there!

Unusual name...........

Please check http://www.javaranch.com/name.jsp

I am sure someone will help then!

Regards
Thomas Schmitz
Greenhorn

Joined: Mar 11, 2008
Posts: 2
Ok...thats an argument .
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9052
    
  12
Two Loops: Have you followed the link "use nested loops" in the assignment?

Why save the result in a String? Why not print as you go?

I'm assuming that you started with Assignment 1 which covers simple for loops and how to handle Strings.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tasks on the cattle drive