Generate all the prime numbers that are less than or equal to 100 using loop

1 回表示 (過去 30 日間)
Koushika
Koushika 2024 年 5 月 24 日
コメント済み: Rik 2024 年 5 月 25 日
Generate all the prime numbers that are less than or equal to 100 using loop ,make it simple and understandable as i am a beginner
  1 件のコメント
Rik
Rik 2024 年 5 月 25 日

You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).

What did you try yourself?

サインインしてコメントする。

回答 (1 件)

Animesh
Animesh 2024 年 5 月 24 日
The following MATLAB answer might help:

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by