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

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 Comment

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?

Sign in to comment.

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 24 May 2024

Commented:

Rik
on 25 May 2024

Community Treasure Hunt

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

Start Hunting!