Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
