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
-
Sum all integers from 1 to 2^n
18059 Solvers
-
Find the largest value in the 3D matrix
1688 Solvers
-
Output any real number that is neither positive nor negative
411 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1284 Solvers
-
07 - Common functions and indexing 2
423 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!