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 Solvers51
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6810 Solvers
-
Sum all integers from 1 to 2^n
17882 Solvers
-
Magic is simple (for beginners)
11586 Solvers
-
Output any real number that is neither positive nor negative
411 Solvers
-
find the maximum element of the matrix
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!