Skip to content

Commit 63e5ce4

Browse files
Maria LungeanuMaria Lungeanu
Maria Lungeanu
authored and
Maria Lungeanu
committed
Fixed Error:(6, 8) java: class algorithm is public, should be declared in a file named algorithm.java. Inside file PrimeFactorization, the name of public class was wrong.
1 parent bcf808a commit 63e5ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Maths/PrimeFactorization.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import java.lang.Math;
44
import java.util.Scanner;
55

6-
public class algorithm {
6+
public class PrimeFactorization {
77
public static void main(String[] args){
88
System.out.println("## all prime factors ##");
99
Scanner scanner = new Scanner(System.in);

0 commit comments

Comments
 (0)