Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/name-sort-java/
- Write a java program that does the following:
- 1. Ask a user for up to 25 last names and the associated first names.
- 2. Print out the names entered: Last, First
- 3. Print out the names sorted alphabetically: Last then first.
- 4. Print out the names sorted reverse alphabetically from high to low (Z down to A).
- 5. Print out the names sorted alphabetically in all UPPER case.
- 6. Print out the names sorted alphabetically in all LOWER case.
- Extra Credit:
- 7. Print out the names sorted alphabetically with initial capital letters.
- Download: http://solutionzip.com/downloads/name-sort-java/
Advertisement
Add Comment
Please, Sign In to add comment