Problem 1694. Now 20% off!

Furloughs are hitting government workers this year. To commemorate getting one unpaid day off each week until the end of September, this Cody problem requires a string for an input. The output will be the same string, but with every fifth letter in the string replaced with 'X'. Numbers, spaces, and punctuation marks are unaffected, which is more than we can say for the government workers.

For example, 'abcde?fgh123ij' would be replaced with 'abcdX?fgh123iX' Good luck!

Solution Stats

45.45% Correct | 54.55% Incorrect
Last Solution submitted on Mar 05, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers60

Suggested Problems

More from this Author80

Community Treasure Hunt

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

Start Hunting!