Question: Write a Matlab program with the function islandid to enter a first name, middle name and last name in separate variables. After entering each name
Write a Matlab program with the function islandid to enter a first name, middle name and last name in separate variables.
After entering each name at the keyboard, call a function named convert that will capitalize the first letter of the name and set the rest of the name to lowercase (for example, jOhN becomesJohn). The convertfunction will be called three times-- once for the first name, once for the middle name, and once for the last name.
Combine the properly capitalized names into one string and output the string (make sure you have a space between each part of the name). Count the number of characters in the total name (including spaces between names) and output that total also.
Include descriptive comments in your source code.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
