Given the function joke below:
function [question reply] = joke (opt)
if (opt==1)
question = 'Why was the math book sad?';
reply = 'Because it had too many problems';
elseif (opt ==2)
question = 'Where do you leave your dog at the mall?';
reply = 'In the barking lot';
else
question = 'What did Batman say to Robin before they got in the Batmobile?';
reply = 'Get in the car.';
end
What is the result of running this loop?
for badjoke = 1:5
[q a] = joke(badjoke);
disp(q);
disp(a);
end