The Artima Developer Community
Sponsored Link

Java Answers Forum
squaring, cubing, etc.

1 reply. Most recent reply: Dec 13, 2006 7:28 AM by Laura Leach

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a flat view of this topic  Flat View
Previous Topic   Next Topic
Threaded View: This topic has 1 reply on 1 page
Laura Leach

Posts: 6
Nickname: lyra
Registered: Dec, 2006

squaring, cubing, etc. Posted: Dec 13, 2006 7:24 AM
Reply to this message Reply
How would I, in a loop, say that "k" should be printed to the the first power, then the second, then the third, etc.?


Re: squaring, cubing, etc. Posted: Dec 13, 2006 7:28 AM
Reply to this message Reply
Posted by: Laura Leach    Posts: 6 / Nickname: lyra / Registered: Dec, 2006
Nevermind. I figured it out.


Topic: squaring, cubing, etc. Previous Topic   Next Topic Topic: Escape \n in a string in jsp

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use