Hi,

My problem is that i need to generate the first 25 prime numbers and output them, i have seen various bits of code using the "mod" operator but im not sure how this works
no input should be required for this program it just needs to identify a prime number and display the first 25

although this is my first time posting here any help would be appreciated.

Thanks,

Craig