Prime visits shoeing error


this is my code. showing compilation error

I have edited your code… I have used the approach where I have used a cnt variable to count the no of prime nos between ‘a’ and ‘b’… Pls refer to it…