C语言基础,求大神解释

日期:2012-11-13 12:48:25 人气:1

C语言基础,求大神解释

#include #include void main() { int a,b,c,d=0; printf("please input a number:"); scanf("%d",&a); c = a; while(a != 1) { for(b = 2; b < (c/2); b++) { if(a%b == 0) { printf("%d ",b); a = a / b; brea
    A+
热门评论