Problem 61104. High Five!

Write a function that takes a number x and returns y = 'High Five' if x is not equal to five. Return y = 'Denied' if the number is a five.

Solution Stats

73.39% Correct | 26.61% Incorrect
Last Solution submitted on Jan 01, 2026

Solution Comments

Show comments

Problem Recent Solvers179

Suggested Problems

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!