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-27 9:45 ID:SjXdbRaz

>>35
This is why we don't post /prog to Reddit :( . You had to go and explain me step by step why strlen can't be better and why length can't be compared... You're probably the same guy who explained that C strings are null terminated. You still haven't realized I'm criticizing their design - the very things you bother explaining as if I were learning C, not their implementation.

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