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 Solvers44
Suggested Problems
-
Find the sum of all the numbers of the input vector
46987 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2052 Solvers
-
622 Solvers
-
537 Solvers
-
165 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!