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
-
Maximum running product for a string of numbers
2258 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2582 Solvers
-
Who knows the last digit of pi?
692 Solvers
-
Generate N equally spaced intervals between -L and L
954 Solvers
-
Double all elements in the array
2394 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!