The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
February 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Switch statement for printlns

Posted by Patti on February 19, 2002 at 12:45 PM

I need a switch statement to print the 12 verses of the 12 days of Xmas adding one verse each time. I don't know how to set up what goes in the Switch(here). Is it a char or int or what?



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us