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
-
Project Euler: Problem 2, Sum of even Fibonacci
2847 Solvers
-
720 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
888 Solvers
-
424 Solvers
-
Flip the vector from right to left
10904 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!