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 Solvers47
Suggested Problems
-
Project Euler: Problem 9, Pythagorean numbers
1151 Solvers
-
9012 Solvers
-
Replace multiples of 5 with NaN
440 Solvers
-
642 Solvers
-
1647 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!