Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
private bool isPrime(int num)
{
if (num == 0 || num == 1)
return false;
for (int j = 2; j < num; j++)
{
if (num % j == 0) return false;
}else{
for (int i= 2; j < Math.Sqrt(num); i++)
if (num % j == 0) return false;
}
return true;
}
If you are experiencing a similar issue, please ask a related question
Join the community of 500,000 technology professionals and ask your questions.