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 Solvers47
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2728 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1824 Solvers
-
Convert given decimal number to binary number.
2072 Solvers
-
230 Solvers
-
1511 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!