I am trying to figure this out but every type of coding I put in has errors or it states that the things aren't the same. This coding is being done in C++.
Get a line of text from the user. Output that line. (1 pt) Ex: Enter text: IDK how that happened. TTYL. You entered: IDK how that happened. TTYL. (2) Output the line again, this time expanding common text message abbreviations. (5 pts) Ex: Enter text: IDK how that happened. TTYL. You entered: IDK how that happened. TTYL. Expanded: I don't know how that happened. talk to you later. Support these abbreviations: BFF -- best friend forever IDK -- I don't know JK -- just kidding TMI -- too much information TTYL -- talk to you later Note: If an abbreviation appears twice, only expand its first instance.