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?

pen pineapple apple pen pine apple penapple pine PEN PINEAPPLE APPLE PEN PINE APPLE PENAPPLE PINE (An error.) (Nothing.) pineapple pen apple pen apple pen pineapple pen

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...