Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3 . 2 4 . 1 : LAB * : Program: Text message decoder 0 / 6 ( 1 ) Use scnr . nextLine (
: LAB: Program: Text message decoder
Use scnrnextLine to get a line of user input into a string. Output the line. pts
Ex:
Enter text:
IDK if I'll go It's my BFFs birthday.
You entered: IDK if I'll go It's my BFFs birthday.
Search the string using indexOf for common abbreviations and print a list of each found abbreviation along with its decoded meaning. Print each acronym in the same order as shown in the abbreviations list below. pts
Ex:
Enter text:
IDK if I'll go It's my BFFs birthday.
You entered: IDK if I'll go It's my BFFs birthday.
BFF: best friend forever
IDK: I don't know
Support these abbreviations:
BFF best friend forever
IDK I don't know
JK just kidding
TMI too much information
TTYL talk to you later
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started