Cody

Problem 1832. Pluralization

Solution 495075

Submitted on 2 Sep 2014 by goc3
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
assert(isequal(plu(0),'s')) assert(isequal(plu(1),'')) assert(isequal(plu(2),'s')) assert(isequal(plu(3),'s'))

ans = s ans = '' ans = s ans = s

Suggested Problems

More from this Author10

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!