Question: c++ 3.31 LAB*: Program: Text message expander (1) Get a line of text from the user. Output that line. (1 pt) Ex: Enter text: IDK

c++
c++ 3.31 LAB*: Program: Text message expander (1) Get a line of

3.31 LAB*: Program: Text message expander (1) Get a line of text from the user. Output that line. (1 pt) Ex: Enter text: IDK how that happened. TIYL. 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. ITYI. 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 dorit know - JK - just kidding - TMI-too much information - TYYL-talk to you later Note: If an abbreviation appears twice, only expand its first instance

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!