Pig Latin challenge
Update-2/13/2020. Solved, but needs cleaned up using advise from comments. Code link has been updated as well. Next im going to work on understanding the use of the "return", and eliminate the global variable. If anyone wants to make the adjustment and post a link, that would be awesome! Ive worked on this for a week, and need help and critiqued. The code works, but doesn't pass the challenges. I believe the problem is because of the extra white space in the beginning, in between words, and end. Let me know where im going wrong, and please PLEASE, critique me on what I could have done better with this code. If anyone says "use pointers", please give an example. I would have used pointers if I understood them better, and im currently working on that topic. Thanks all!!https://code.sololearn.com/cFFeN1k4AO1B/#cpp