#include <stdio.h>
#include <stdlib.h>
int main()
{
int i,num,after;
printf("input one number at(1~1000000)\n");
scanf("%d\n",&num);
for (i=2;i<=num;i++){
if (num%i==0){
scanf("%d*",&i);
num/=i;
}
}
return 0;
}
#include
#include
int main()
{
int i,num,after;
printf("input one number at(1~1000000)\n");
scanf("%d\n",&num);
for (i=2;i<=num;i++){
if (num%i==0){
scanf("%d*",&i);
num/=i;
}
}
return 0;
}
不用這一航printf("input one number at(1~1000000)\n");