Question 1

Write an application that prompts the user for three first names and concatenates them in every possible two-name combination so that new parents can easily compare them to find the most pleasing baby name. Save the file as BabyNameComparison.java.

Question 8

Three-letter acronyms are common in the business world. For example, in Java you use the IDE (Integrated Development Environment) in the JDK (Java Development Kit) to write programs used by the JVM (Java Virtual Machine) that you might send over a LAN (Local Area Network). Programmers even use the acronym TLA to stand for three-letter acronym. Write a program that allows a user to enter three words, and dispay the appropriate three-letter acronym in all uppercase letters. If the user enters more than three words, ignore the extra words. Figure 7-22 shows a typical execution. Save the file as ThreeLetterAcronym.java. see image.

Use a JOptionPane to get the user's phrase.

If the phrase doesn't contain three words, display an error message

Question 11

Write an application that prompts a user for a full name and street address and constructs an ID from the user's initials and numeric part of the address. For example, the user William Hentry Harrison who lives at 34 Elm would have an ID of WHH34, whereas user Addison Mitchell who lives at 1788 Monroe would have an ID of AM1778. Save the file as ConstructID.java.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.