Fizz - MATLAB Cody - MATLAB Central

Problem 55815. Fizz

Difficulty:Rate
Dado um número inteiro n, retorne 'fizz' se esse valor for multiplo de 3, ou retorne o valor caso contrario.
Fizz(3) = 'fizz';
Fizz(6) = 'fizz';
fizz(7) = 7;

Solution Stats

66.23% Correct | 33.77% Incorrect
Last Solution submitted on Apr 22, 2025

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Problem Recent Solvers49

Suggested Problems

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!
Go to top of page