Pseducode to print all prime numbers in the range 1 to N.
Pseducode to print all prime numbers
Hey @vishnim
Input N
Initialize NUM=1
While NUM is smaller than N
Initialize I to 2
While I is smaller than NUM
If NUM is divisible by I
skip loop
Increment I
If I is equal to NUM
Print NUM
Increment NUM