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.
7. Print out the names sorted alphabetically with initial capital letters.
Write a Review
Leave a reply Cancel reply
Ask Your Question
We have verified professionals who are ready to answer your question.
Save Time and Money
We choose experts who can quickly answer your question and that suit your budget.
Get Your Answer
Your satisfaction is 100% guaranteed. You can keep on asking questions until you get the answer you need.