Problem 1168. Return 'on' or 'off'

When the input is true, return 'on', otherwise, return 'off'.

Solution Stats

59.52% Correct | 40.48% Incorrect
Last Solution submitted on Mar 17, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers466

Suggested Problems

More from this Author31

Problem Tags

Community Treasure Hunt

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

Start Hunting!