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 Solvers48
Suggested Problems
-
Return the largest number that is adjacent to a zero
5454 Solvers
-
Fix the last element of a cell array
1659 Solvers
-
Matlab Basics - Pick out parts of a vector
260 Solvers
-
365 Solvers
-
Convert from Fahrenheit to Celsius
26925 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!