Cody

# Problem 129. All capital?

Solution 610513

Submitted on 2 Apr 2015 by Jonathan Campelli
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
%% x = 'MNOP'; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

x2 = 77 78 79 80 x2 = 77 78 79 80 x2 = 77 78 79 80 ans = 1

2   Pass
%% x = 'MN0P'; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

x2 = 77 78 48 80 x2 = 77 78 48 80 x2 = 77 78 80 ans = 0

3   Pass
%% x = 'INOUT1NOUT'; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

x2 = 73 78 79 85 84 49 78 79 85 84 x2 = 73 78 79 85 84 49 78 79 85 84 x2 = 73 78 79 85 84 78 79 85 84 ans = 0

4   Pass
%% x = 'UPANDDOWN'; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

x2 = 85 80 65 78 68 68 79 87 78 x2 = 85 80 65 78 68 68 79 87 78 x2 = 85 80 65 78 68 68 79 87 78 ans = 1

5   Pass
%% x = 'RUaMATLABPRO'; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

x2 = 82 85 97 77 65 84 76 65 66 80 82 79 x2 = 82 85 77 65 84 76 65 66 80 82 79 x2 = 82 85 77 65 84 76 65 66 80 82 79 ans = 0