Cody

Solution 1939883

Submitted on 17 Sep 2019 by Sam McPheeters
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
y_correct = {'break';'case';'catch';'classdef';'continue';'else';'elseif'; 'end';'for'; 'function'; 'global'; 'if'; 'otherwise'; 'parfor'; 'persistent'; 'return'; 'spmd'; 'switch'; 'try'; 'while'}; assert(isequal(keywords,y_correct))

ans = 20×1 cell array {'break' } {'case' } {'catch' } {'classdef' } {'continue' } {'else' } {'elseif' } {'end' } {'for' } {'function' } {'global' } {'if' } {'otherwise' } {'parfor' } {'persistent'} {'return' } {'spmd' } {'switch' } {'try' } {'while' }