Cody

Problem 44358. I Plead the Fifth

Created by goc3 in Community

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

35.37% Correct | 64.63% Incorrect
Last solution submitted on Mar 08, 2019

Problem Comments

Recent Solvers243

Suggested Problems

More from this Author161

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!