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 rd 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 more of your own total You may assume that there is a space before and after your abbreviation
tablel lorb
Note: You cannot use a normal cin statement to input a sentence it truncates after the first space Use the getline function:
Program Example output
This program will correct ur lolspeak abrreviations.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
