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.

回答 (0 件)

この質問は閉じられています。

質問済み:

2020 年 8 月 21 日

閉鎖済み:

2020 年 8 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by