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.

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 21 Aug. 2020

Geschlossen:

am 21 Aug. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by