% The M script displays a different string on
% the command window.
% according to the integer value of k (to be set before
% the script execution.)
%
% Author: Borgo, Soranzo, Grassi 2010
switch k
    case 1
        disp('First! Good job!');
    case 2
        disp('Second!');
    case 3
        disp('Third, nice result!');
    otherwise
        disp('Next time is going to be better!');
end