Question

You are given a string containing a popular Internet Acronym word that contains one of the following words: AAMOF, AKA CU, HT
0 0
Add a comment Improve this question Transcribed image text
Answer #1

// Java Code:-

import java.util.*;
public class Main
{
public static void convertAcronyms(String internetAcronym)
{
if(internetAcronym.equals("AAMOF"))
System.out.println("As a Matter of Fact");
  
else if(internetAcronym.equals("AKA"))
System.out.println("Also known as");
  
else if(internetAcronym.equals("CU"))
System.out.println("See you");
  
else if(internetAcronym.equals("HTH"))
System.out.println("Hope this helps");
  
else if(internetAcronym.equals("JTLYK"))
System.out.println("Just to Let You Know");
}
   public static void main(String[] args) {
   Scanner in=new Scanner(System.in);
   System.out.print("Enter the acronym : ");
   String str=in.nextLine();
   convertAcronyms(str);
   }
}


Main.java 1 import java.util.*; 2 public class Main 3- { 4 public static void convertAcronyms (String internetAcronym) 5 { 6

Add a comment
Know the answer?
Add Answer to:
You are given a string containing a popular Internet Acronym word that contains one of the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT