Question: Can someone help me explain these codes? PLEASE SEE SCREENSHOTS!! THIS IS BEGINNER C + + ! At the top there can only be #include

Can someone help me explain these codes? PLEASE SEE SCREENSHOTS!! THIS IS BEGINNER C++! At the top there can only be #include and using namespace std; I ALREADY HAVE THE the abbreviations on the bottom. I just need help with the top with string s, string abbr, string translation! please use IF and found. I just need to know the abbr size and translation. This is my 3rd time asking this question!
I have included my codes and instructions
Write a program called lol.cpp that allows the user to enter a sentence. Then program then searches the sentence for various lolspeak abbreviations and substitutes them with the proper words.
You should have a function named LOLSpeak that takes your sentence, abbreviation, and translation as parameters and returns the corrected sentence:
string LoLSpeak (string S, string Abbr, string Translation)
Make your program work with the three abbreviations below AND at least 7 more of your own (total 10). You may assume that there is a space before and after your abbreviation
\table[[l lorb]]
Note: You cannot use a normal cin statement to input a sentence (it truncates after the first space). Use the getline function:
Program 2 Example output
This program will correct ur lolspeak abrreviations.
Can someone help me explain these codes? PLEASE

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 Accounting Questions!