Info

此问题已关闭。 请重新打开它进行编辑或回答。

if AND elase statements

1 次查看(过去 30 天)
Nisar Ahmed
Nisar Ahmed 2020-8-21
关闭: John D'Errico 2020-8-21
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 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by