if AND elase statements

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.

Réponses (0)

Cette question est clôturée.

Question posée :

le 21 Août 2020

Clôturé :

le 21 Août 2020

Community Treasure Hunt

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

Start Hunting!

Translated by