Merge pull request #1314 from mariaRoxana94/fix-error

Fixed Error:(6, 8) java: class algorithm is public, should be declare…
This commit is contained in:
Stepfen Shawn 2020-05-16 08:34:56 +08:00 committed by GitHub
commit c8ef1fd400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ package Maths;
import java.lang.Math; import java.lang.Math;
import java.util.Scanner; import java.util.Scanner;
public class algorithm { public class PrimeFactorization {
public static void main(String[] args){ public static void main(String[] args){
System.out.println("## all prime factors ##"); System.out.println("## all prime factors ##");
Scanner scanner = new Scanner(System.in); Scanner scanner = new Scanner(System.in);