Menu

(Solved) : 143 Prog 3 Text Message Decoder Selection 1 Use Scnrnextline Get Line User Input String Ou Q44109262 . . .

Java

14.3 Prog 3-Text message decoder (selection) (1) Use scnr.nextLine() to get a line of user input into a string. Output the li

14.3 Prog 3-Text message decoder (selection) (1) Use scnr.nextLine() to get a line of user input into a string. Output the line. (4 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. (6 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 Show transcribed image text 14.3 Prog 3-Text message decoder (selection) (1) Use scnr.nextLine() to get a line of user input into a string. Output the line. (4 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. (6 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

Expert Answer


Answer to 14.3 Prog 3-Text message decoder (selection) (1) Use scnr.nextLine() to get a line of user input into a string. Output t…

OR