954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

uppercase and lowercase HELP!

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.

TheAdjustment
Newbie Poster
1 post since Mar 2007
Reputation Points: 10
Solved Threads: 0
 

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=java+uppercase&btnG=Search&meta=

And can you believe that it was the first result?

Cudmore
Junior Poster in Training
74 posts since Nov 2005
Reputation Points: 20
Solved Threads: 6
 
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.

MacGyver Orca
Light Poster
39 posts since Jan 2007
Reputation Points: 19
Solved Threads: 4
 

Just read the API for String. Once you have read the input there are two methods in String that do exactly what you want.

masijade
Industrious Poster
Moderator
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You