Hello everyone,
I wanted to writte a program to print prime numbers between two given numbers.
The range of numbers should be given through command prompt.
like if we give
>
java primeno 4 20
it should display the prime numbers between 4 and 20
I wrote the following code for it
no numbers are being displayed.
please tell me where the problem is and correct it.
thank you