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 Solvers49
Suggested Problems
-
Maximum running product for a string of numbers
2251 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3657 Solvers
-
314 Solvers
-
Sum the 'edge' values of a matrix
394 Solvers
-
484 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!