Please help program using conditional logic and string operations that does the following using your NetBeans IDE and upload it here: (1) Use scnr.nextLine(); to get a line of user input into a string. Output that line. (1 pt)
Enter text: IDK how that happened. TTYL. You entered: IDK how that happened. TTYL.
(2) Expand common text message abbreviations. Output a message for each abbreviation that is expanded, then output the expanded line. Note: Check for abbreviations in the order provided below. (5 pts)
Need assignment help for this question?
If you need assistance with writing your essay, we are ready to help you!
Why Choose Us: Cost-efficiency, Plagiarism free, Money Back Guarantee, On-time Delivery, Total Сonfidentiality, 24/7 Support, 100% originality
Support these abbreviations (you only need to support these):
- BFF — best friend forever
- IDK — I don’t know
- JK — just kidding
- TMI — too much information
- TTYL — talk to you later
Enter text: IDK how that happened. TTYL. You entered: IDK how that happened. TTYL. Replaced "IDK" with "I don't know". Replaced "TTYL" with "talk to you later". Expanded: I don't know how that happened. talk to you later.
3.15.1: Program: Text message expander (Java)
We will expect the above file(s) to be submitted
javac TextMsgExpander.java -WerrorWe will use this command to compile your code