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))
x =
'this is better than c++'
x =
'This is better than c++'
n =
23
x =
'This Is better than c++'
x =
'This Is Better than c++'
x =
'This Is Better Than c++'
x =
'This Is Better Than C++'
corrected =
'This Is Better Than C++'
|
2 | Pass |
sentence = 'hEy, tHis iS vErY wroNg!';
corrected = 'Hey, This Is Very Wrong!';
assert(isequal(autoCase(sentence), corrected))
x =
'hey, this is very wrong!'
x =
'Hey, this is very wrong!'
n =
24
x =
'Hey, This is very wrong!'
x =
'Hey, This Is very wrong!'
x =
'Hey, This Is Very wrong!'
x =
'Hey, This Is Very Wrong!'
corrected =
'Hey, This Is Very Wrong!'
|
Arrange vector in ascending order
624 Solvers
Sum of odd numbers in a matrix
311 Solvers
Matlab Basics II - Count rows in a matrix
255 Solvers
Finding an element in a vector
136 Solvers
236 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!