Skip to content

Commit 4f09186

Browse files
updated SieveofEratosthenes.cpp
Some mild changes.
1 parent c2b9f36 commit 4f09186

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sieve of Eratosthenes/SieveOfEratosthenes.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,13 @@ void dispPrimes(int limit)
6262
cout << "ERROR: Limit Set to 0" << endl;
6363
}
6464
}
65+
/*
66+
67+
Dummy main to check Function
6568
6669
int main()
6770
{
68-
dispPrimes(100);
71+
dispPrimes(0);
6972
return 0;
7073
}
74+
*/

0 commit comments

Comments
 (0)