Question: 3 . 2 4 . 1 : LAB * : Program: Text message decoder 0 / 6 ( 1 ) Use scnr . nextLine (

3.24.1: LAB*: Program: Text message decoder
0/6
(1) Use scnr.nextLine() to get a line of user input into a string. Output the line. (3 pts)
Ex:
Enter text:
IDK if I'll go. It's my BFF's birthday.
You entered: IDK if I'll go. It's my BFF's birthday.
(2) 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. (3 pts)
Ex:
Enter text:
IDK if I'll go. It's my BFF's birthday.
You entered: IDK if I'll go. It's my BFF's 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!