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
-
323 Solvers
-
605 Solvers
-
Sum of first n positive integers
619 Solvers
-
07 - Common functions and indexing 2
421 Solvers
-
Determine the length of a string of characters
265 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!