This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a question

 
sandeep Talari
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
create a simple counting thread.It will count to100,pausing one second between each number.Also,in keeping with the counting theme,it will output a string every ten numbers.

clue:
create a for loop that will loop 100 times.use the modulo operation to check whether there are any remainder numbers when divided by 10.
use the static method thread.sleep()to pause . The long number represents milli seconds.
 
Joanne Neal
Rancher
Pie
Posts: 3742
16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what are you having problems with ?

You should probably read this as well
[ February 28, 2008: Message edited by: Joanne Neal ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic