This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
sentence = 'this is BETTER than C++';
corrected = 'This Is Better Than C++';
assert(isequal(autoCase(sentence), corrected))
v =
'This Is Better Than C++'
|
2 | Pass |
sentence = 'hEy, tHis iS vErY wroNg!';
corrected = 'Hey, This Is Very Wrong!';
assert(isequal(autoCase(sentence), corrected))
v =
'Hey, This Is Very Wrong!'
|
1800 Solvers
Project Euler: Problem 1, Multiples of 3 and 5
1492 Solvers
find the maximum element of the matrix
349 Solvers
Simple equation: Annual salary
3779 Solvers
432 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!