commit
dac62ffedf
@ -11,6 +11,7 @@ public class PrimeFactorization {
|
|||||||
int n = scanner.nextInt();
|
int n = scanner.nextInt();
|
||||||
System.out.print(("printing factors of " + n + " : "));
|
System.out.print(("printing factors of " + n + " : "));
|
||||||
pfactors(n);
|
pfactors(n);
|
||||||
|
scanner.close();
|
||||||
}
|
}
|
||||||
public static void pfactors(int n){
|
public static void pfactors(int n){
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user