2.18. LAB_ Warm up_ Text message abbreviation decoder - 2.pdf - 2.18 LAB Warm up Text message abbreviation decoder 2.18 LAB Warm up Text message

2.18. LAB_ Warm up_ Text message abbreviation decoder - 2.pdf

This preview shows page 1 - 2 out of 2 pages.

9/7/2020 2.18. LAB: Warm up: Text message abbreviation decoder 1/2 2.18 LAB: Warm up: Text message abbreviation decoder (1) If a user's input string matches a known text message abbreviation, output the unabbreviated form, else output: Unknown. Support two abbreviations: LOL -- laughing out loud, and IDK -- I don't know. (4 pts) Sample input/output: Input an abbreviation: LOL laughing out loud (2) Expand to also decode these abbreviations. (3 pts) BFF -- best friends forever IMHO -- in my humble opinion TMI -- too much information LAB ACTIVITY 2.18.1: LAB: Warm up: Text message abbreviation decoder 7 / 7 Run your program as often as you'd like, before TextMsgAbbreviation.java Load default template... Develop mode Submit mode else if (userInput.equals( "BFF" )) { System .out.println( "best friends forever" ); } else if (userInput.equals(

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture