Problem 61105. Fives Begone
Given any sentence as an input value 'sentence', turn all fives into the letter X and return the improved sentence. Also, turn all 'f', 'i', 'v' or 'e'' letters into X's as well. (Case sensitve).
Example:
'I fear that the number 5 brings out the worst in us.' --> 'I FXar that thX numbXr X brXngs out thX worst Xn us.'
Solution Stats
Problem Comments
-
1 Comment
Christian Schröder
on 7 Dec 2025 at 8:58
That was a fun set of problems, Vincent. Thanks!
Solution Comments
Show commentsProblem Recent Solvers120
Suggested Problems
-
120 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!