Hello!

I'm currently making a new program that will count how many prime numbers there is between two numbers (let's say 1 - 50).

I just wonder how do I make this method? Or do I need a for...