Prime Numbers

+2 Akhilesh Chobey · November 18, 2015
How do I print prime numbers between any two given numbers?
for e.g.
Between 2 and 10
2,3,5,7

Likewise between any two numbers.
Thanks :)

Post a Reply

Replies

- page 2
Oldest  Newest  Rating
0 Jon Z. · December 11, 2015
break; only breaks out of the current inner loop.
  • 1
  • 2

C

106,929 followers
About

One of the most popular languages of all time.

Links
Moderators
Bucky Roberts Administrator