Skip to content

Commit bf93fa7

Browse files
new
1 parent 114fa1e commit bf93fa7

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

MathsforDSA/src/sieveofe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public static void main(String[] args) {
55
sieve(n,primes);
66
}
77

8-
private static void sieve(int n, boolean[] primes) {
8+
static void sieve(int n, boolean[] primes) {
99
for (int i = 2; i*i <= n ; i++) {
1010
if(primes[i]==false){
1111
for (int j = i+i; j <=n; j=j+i) {
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)