which loop??

i'm a new member. hope anyone could answer my question. i'm taking basic progrmmg course for my first semester of first year. here is my question of my 2nd assgment.

Write a program to display prime number from 1 to 50.

which loop do i have to use??
Any of them. It's the way you use it that matters. You'll probably need to use nested loops.
Topic archived. No new replies allowed.