File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Tasks on the cattle drive

Thomas Schmitz

Joined: Mar 11, 2008
Posts: 2
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

I am sure someone will help then!

Thomas Schmitz

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

Joined: Jul 22, 2000
Posts: 9059
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.

"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:
subject: Tasks on the cattle drive
It's not a secret anymore!