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 Solvers51
Suggested Problems
-
4543 Solvers
-
Number of 1s in a binary string
11480 Solvers
-
Longest run of consecutive numbers
6696 Solvers
-
Rounding off numbers to n decimals
5762 Solvers
-
Matlab Basics II - Count rows in a matrix
411 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!