Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x='Blogs , Trendy , Cody , Contest .';
y='Blogs, Trendy, Cody, Contest.';
assert(isequal(cozy_cody(x),y))
|
2 | Pass |
x='Trendy , Cody , Contest .';
y='Trendy, Cody, Contest.';
assert(isequal(cozy_cody(x),y))
|
3 | Pass |
x='One Two Three Four Five Six Seven Eight Nine Ten';
y='One Two Three Four Five Six Seven Eight Nine Ten';
assert(isequal(cozy_cody(x),y))
|
4 | Pass |
x='1, 2, 3, 4, 5, 6, 7, 8, 9, 10';
y='1, 2, 3, 4, 5, 6, 7, 8, 9, 10';
assert(isequal(cozy_cody(x),y))
|
5 | Pass |
x='1 , and 3 , and 7 , and 12';
y='1, and 3, and 7, and 12';
assert(isequal(cozy_cody(x),y))
|
6 | Pass |
x='Hello There !';
y='Hello There!';
assert(isequal(cozy_cody(x),y))
|
Convert a structure into a string
95 Solvers
376 Solvers
272 Solvers
Number of digits in an integer
336 Solvers
Create an index-powered vector
353 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!