package Test2016;
//
public class Test1 {
public static void main(String[] args) {
int a=1001;
System.out.print(a+"=");
for (int i = 2; i <=100; i++) {
while(a%i==0&&a!=i){
a=a/i;
System.out.print(i+"*");
}
if(a==i){
System.out.print(i);
break;
}
}
}
}

求一个数的所有因子的积_i++