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
-
Find the longest sequence of 1's in a binary sequence.
6675 Solvers
-
4559 Solvers
-
Getting the indices from a vector
11761 Solvers
-
Element by element multiplication of two vectors
394 Solvers
-
Matlab Basics - Logical Tests I
267 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!