Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Three-letter acronyms are common in the business world. For example, in Java you

ID: 3603521 • Letter: T

Question

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 display the appropriate three-letter acronym in all uppercase letters. If the user enters more than three words, ignore the extra words. Figure 1 below shows a typical execution. Save the file as ThreeLetterAcronym.java.

Again, don’t forget to create the application/project ThreeLetterAcronymTest.java Class that has the main method and an object to use the ThreeLetterAcronym class.

Explanation / Answer

ThreeLetterAcronym.java

Sample Input and output:

Enter 3 words:
local area network
The Three-Letter Acronym: LAN

Enter 3 words:
java virtual machine net
The Three-Letter Acronym: JVM

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote