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.
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
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.