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

69.64% Correct | 30.36% Incorrect
Last Solution submitted on Dec 12, 2025

Solution Comments

Show comments

Problem Recent Solvers76

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!