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

1 Ansicht (letzte 30 Tage)
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 Kommentar
Rik
Rik am 25 Mai 2024

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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Animesh
Animesh am 24 Mai 2024
The following MATLAB answer might help:

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by