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
-
Return the 3n+1 sequence for n
8491 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2543 Solvers
-
Project Euler: Problem 9, Pythagorean numbers
1386 Solvers
-
632 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1746 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!