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 Solvers43
Suggested Problems
-
07 - Common functions and indexing 1
430 Solvers
-
695 Solvers
-
Deleting an element in a matrix
457 Solvers
-
Replace every 3rd element in a vector with 4
238 Solvers
-
8733 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!