Cody

Problem 45435. Capitalize

Solution 3117076

Submitted on 8 Oct 2020 by Mehmet OZC
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
xx = {'alphaS','123ff','newaz','Newaz'}; y_correct ={'Alphas','123Ff','Newaz','Newaz'}; assert(isequal(capitalize_names_2(xx),y_correct))

2   Pass
xx = {'**GldosgGf','asbd','$$$123','ASDR'}; y_correct ={'**Gldosggf','Asbd','$$$123','Asdr'}; assert(isequal(capitalize_names_2(xx),y_correct))

3   Pass
xx = {'spain','Italy','San-Fransisco','United-arab-amirates'}; y_correct ={'Spain','Italy','San-fransisco','United-arab-amirates'}; assert(isequal(capitalize_names_2(xx),y_correct))