Question: matlab Problem 2. Write a function namedept that will receive a name and department as separate strings, and will create and return a code consisting

 matlab Problem 2. Write a function namedept that will receive a

matlab

Problem 2. Write a function namedept that will receive a name and department as separate strings, and will create and return a code consisting of the first two letters of the name and the last two letters of the department. The code should be uppercase letters. For example: S> Mechanical') ans ROAL

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!