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

2 vues (au cours des 30 derniers jours)
Koushika
Koushika le 24 Mai 2024
Commenté : Rik le 25 Mai 2024
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 commentaire
Rik
Rik le 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?

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by