%% Terminate Switch Block
% Use end to terminate a switch block.

choice = 1;

switch choice
    case 1
        disp('Vote for no. 1')
    case 2
        disp('Vote for no. 2')
    otherwise
        disp('Abstain')
end

%
% Copyright 2019 The MathWorks, Inc.