aspose file tools
The moose likes Cattle Drive and the fly likes print number of time without a loop? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "print number of time without a loop?" Watch "print number of time without a loop?" New topic

print number of time without a loop?

Nath Maniedeo

Joined: Feb 15, 2008
Posts: 29
is it possible to print out text the same amount of times as stored in a variable without using a loop?
Katrina Owen

Joined: Nov 03, 2006
Posts: 1367
Why do you want to avoid the loop?
[ March 16, 2008: Message edited by: Katrina Owen ]
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9056
Assignment Java-1 (Hundred)
Purpose: To learn how to follow the style guide, how to get the argument from the command line, how to use variables, how to concatenate strings, how to use a loop effectively, and how to output to the screen (standard out).

"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: print number of time without a loop?