Pseducode to print all prime numbers in the range 1 to N

Pseducode to print all prime numbers in the range 1 to N.
check whether I have done it correctly or not

Hey friend , you did it in a right way :slight_smile: