Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Blue Pelican Java Project 11... please help

Name: Anonymous 2007-09-26 1:47 ID:AkvBcXjS

Write a program that will allow a user to input his name. The prompt and input data would look something like this:
Please enter your name. Peter Ustinov

Using a for-loop and the String method, substring(...), produce a printout of the reversal of the name.

For example, the name Peter Ustinov would be:
vonitsu retep

Notice that the printout is in all lower-case. Use the String method, toLowerCase() to accomplish this.

and btw this book can be downloaded here: http://www.bluepelicanjava.com/downloadBook_bpj.htm

Name: Anonymous 2007-09-26 12:41 ID:Heaven

>>20
It does run for char 0. Are you retarded or what?

Name: Anonymous 2007-09-26 13:58 ID:Heaven

>>28
char 0 ends the string. By itself, it is an empty string. An empty string reversed and lowercased is still an empty string. >>19 does prints out that and terminates. What the fuck is your problem?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List