Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
sIn = 'hello'
sOut = 'hlleo'
assert(isequal(scrambleText(sIn),sOut))
sIn =
hello
sOut =
hlleo
ans =
hlleo
|
2 | Pass |
%%
sIn = 'This is the first time I have used MATLAB.'
sOut = 'Tihs is the fsrit tmie I hvae uesd MALTAB.'
assert(isequal(scrambleText(sIn),sOut))
sIn =
This is the first time I have used MATLAB.
sOut =
Tihs is the fsrit tmie I hvae uesd MALTAB.
ans =
Tihs is the fsrit tmie I hvae uesd MALTAB.
|
Sort a list of complex numbers based on far they are from the origin.
3794 Solvers
190 Solvers
Number of digits in an integer
272 Solvers
Side of an equilateral triangle
1524 Solvers
255 Solvers