将一个正整数分解质因数public class Yinshu {public static void main(String[] args) {while(true){ Scanner scanner = new Scanner(System.in);int i = Integer.parseInt(scanner.nextLine());System.out.print(i+"=");int j=2;for(;j
问题描述:
将一个正整数分解质因数
public class Yinshu {
public static void main(String[] args) {
while(true){
Scanner scanner = new Scanner(System.in);
int i = Integer.parseInt(scanner.nextLine());
System.out.print(i+"=");
int j=2;
for(;j
答