C++
Program Specifications Write a program that reads a text message abbreviation and outputs the text in the unabbreviated form.
Note: This program is designed for incremental development. Complete each step and submit for grading before starting the next step. Only a portion of tests pass after each step but confirm progress.
Step 1 (4 pts): Decode two abbreviations.
Prompt the user to enter an abbreviation. If the user's input string matches a known text message abbreviation, output the unabbreviated form. Otherwise output: Unknown.
Two supported abbreviations:
LOL -- laughing out loud
IDK -- I don't know
Submit for grading to confirm 4 tests pass.
Ex: If the input is:
Input an abbreviation: LOL
the output is:
laughing out loud
Ex: If the input is:
Input an abbreviation: TTYL
the output is:
Unknown
Step 2 (3 pts): Decode more abbreviations.
Expand the program to include three more abbreviations:
BFF -- best friends forever
IMHO -- in my humble opinion
TMI -- too much information
Submit for grading to confirm all tests pass.