Search Results

Showing results 1 to 1 of 1
Search took 0.05 seconds.
Search: Posts Made By: shavez_israr
Forum: C Apr 25th, 2006
Replies: 30
Views: 22,510
Posted By shavez_israr
int flag=1;
for(int i=2;i<500;i++) //since 1 and 500 are not prime
{
flag=1;
for(int j=2;j<i/2;j++) //since a no. cannot be divisible by a
{ ...
Showing results 1 to 1 of 1

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC