I Plead the Fifth - MATLAB Cody - MATLAB Central

Problem 44358. I Plead the Fifth

Difficulty:Rate

Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty string) if the number five or any variation thereof (e.g., fifth, fifty, fifteen, 5) is within the input string.

Solution Stats

31.72% Correct | 68.28% Incorrect
Last Solution submitted on Feb 18, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers413

Suggested Problems

More from this Author139

Community Treasure Hunt

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

Start Hunting!
Go to top of page