Problem 55820. Buzz
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 commentsProblem Recent Solvers45
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2957 Solvers
-
Back to basics 9 - Indexed References
438 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10697 Solvers
-
Magic is simple (for beginners)
8661 Solvers
-
609 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!