第六十一题
作者:互联网
#include<stdio.h>
main()
{
int n,i;
printf("\nplease input a number:\n");
scanf("%d",&n);
printf("%d=",n);
for(i=2;i<=n;i++)
while(n!=i)
{
if(n%i==0)
{
printf("%d*",i);
n=n/i;
}
else
break;
}
printf("%d",n);
}
标签:int,第六十一,n%,number,printf,include 来源: https://blog.csdn.net/qq_54631978/article/details/114046980