uppercase and lowercase HELP!

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2007
Posts: 1
Reputation: TheAdjustment is an unknown quantity at this point 
Solved Threads: 0
TheAdjustment TheAdjustment is offline Offline
Newbie Poster

uppercase and lowercase HELP!

 
0
  #1
Mar 28th, 2007
I'm having major issues trying to do the following: Write a program that reads in a line of text and then outputs that line of text first in all uppercase letters and then in all lowercase letters.

If anyone can help me with that I'd greatly apprciate it.
Reply With Quote Quick reply to this message  
Join Date: Nov 2005
Posts: 74
Reputation: Cudmore is an unknown quantity at this point 
Solved Threads: 5
Cudmore's Avatar
Cudmore Cudmore is offline Offline
Junior Poster in Training

Re: uppercase and lowercase HELP!

 
0
  #2
Mar 28th, 2007
Have you researched this?
Perhaps, and especially for questions such as yours, you should check Google or some other appropriate search engine for results.

You seem to know the words "Java" and "Uppercase" well enough.
Take a look at this - be amazed:

http://www.google.ca/search?hl=en&q=...G=Search&meta=

And can you believe that it was the first result?
synchronized (theWorld) { System.out.println ("It's all mine..."); }
How many people have code in their Sigs?
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 39
Reputation: MacGyver Orca is an unknown quantity at this point 
Solved Threads: 4
MacGyver Orca's Avatar
MacGyver Orca MacGyver Orca is offline Offline
Light Poster

Re: uppercase and lowercase HELP!

 
0
  #3
Mar 28th, 2007
Originally Posted by Cudmore View Post
Have you researched this?
I second this sentiment, the problem you are asking is one that can be searched for on google quite quickly; however, should you have any more complex problems, or don't understand how to use the API then please feel free to ask.
Reply With Quote Quick reply to this message  
Join Date: Feb 2006
Posts: 2,467
Reputation: masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of masijade has much to be proud of 
Solved Threads: 267
Moderator
masijade's Avatar
masijade masijade is offline Offline
Nearly a Posting Maven

Re: uppercase and lowercase HELP!

 
0
  #4
Mar 29th, 2007
Just read the API for String. Once you have read the input there are two methods in String that do exactly what you want.
Java Programmer and Sun Systems Administrator

----------------------------------------------

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC