Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 'Macbeth';
y_correct = false;
assert(isequal(two_b_or_not_two_b(x),y_correct))
y =
0
|
2 | Pass |
x = 'Publius Cornelius Dolabella';
y_correct = true;
assert(isequal(two_b_or_not_two_b(x),y_correct))
y =
0
y =
1
|
3 | Pass |
x = 'B is not the same as b';
y_correct = true;
assert(isequal(two_b_or_not_two_b(x),y_correct))
y =
0
y =
1
|
3113 Solvers
248 Solvers
Implement simple rotation cypher
943 Solvers
Duplicate each element of a vector.
518 Solvers
251 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!