Question: Language is matlab! Please keep it short & concise, and be available to reply to any replies pertaining to your code! Write a function called

Language is matlab! Please keep it short & concise, and be availableLanguage is matlab! Please keep it short & concise, and be available to reply to any replies pertaining to your code!

Write a function called reverse Words that receives as input a string in the form of a sentence, reverses the words in the sentence, applies proper capitalization of letters and punctuation, and returns the reversed sentence as output. You may assume that the first word of the input sentence begins with a Capital letter, that the sentence finishes with a single punctuation mark, and that no other punctuation marks are contained in the input sentence. Here are some examples of what calls to reverse Words might look like: >>reverseWords("Who are you?") ans = "You are who? >>reverseWords('Sing to me Drew.') ans = 'Drew me to sing.' >>reverseWords('You love Matlab!') ans = 'Matlab love you

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!