Question: MATLAB ONLY Problem 4 (a) Write a function that receives a string variable as an input argument and returns a backward string. For example, if
MATLAB ONLY
Problem 4 (a) Write a function that receives a string variable as an input argument and returns a backward string. For example, if the input argument is Thanksgiving follows Halloween the output should be neewollaH swollof gnivigsknahT. (b) Modify part (a) in such way that the output gives you the backward sentence. For example, if the input argument is Thanksgiving follows Halloween, the output should be Halloween follows Thanksgiving. To make the problem a little easier, do not use punctua- tion in your input argument and separate the words with only one space. This problem has 10 points (5 points for each section)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
