Dado um número inteiro n, retorne 'buzz' se esse valor for multiplo de 5, ou retorne o valor caso contrario.
Buzz(5) = 'buzz';
Fizz(10) = 'buzz';
fizz(7) = 7;
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers50
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52939 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15783 Solvers
-
Set the array elements whose value is 13 to 0
1439 Solvers
-
617 Solvers
-
542 Solvers
More from this Author20
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!