Making pens

Consider the below MATLAB function:

function lyrics = makepen(a,b)
d='c'-'a'; c=b; c(d^d)=[]; c(d)=c(d)-d^d; e=' ';
lyrics=[c,e,b,a,e,a,e,c];
end

What will

makepen('apple','pine')

return?

×

Problem Loading...

Note Loading...

Set Loading...