Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

if AND elase statements

1 view (last 30 days)
Nisar Ahmed
Nisar Ahmed on 21 Aug 2020
Closed: John D'Errico on 21 Aug 2020
How to write this code in MATLAB
Write a program that prints each number from 1 to 20 on a new line.
For each multiple of 3, print "Fizz" instead of the number. For each
multiple of 5, print "Buzz" instead of the number.

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!