{
{
int i, j;
if (args.length < 2)
{
return;
}
" are:");
for (i = num1; i <= num2; i++)
{
for (j = 2; j < i; j++)
{
int n = i % j;
if (n == 0)
{
break;
}
}
if (i == j)
{
}
}
}
}
Java program to display all prime numbers between two limits.
Reviewed by
on
September 05, 2019
Rating:
No comments: