摘要: 一、代码 1 #include 2 using namespace std; 3 void fun(int n) 4 { 5 int a=1; 6 int b=1; 7 int sum=0; 8 if(n>m;32 fun(m);33 cout<<endl;34 }二、演示 阅读全文
posted @ 2013-09-10 19:16 不懂编程的程序员 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 一:代码 1 #include 2 using namespace std; 3 void main() 4 { 5 cout>m; 8 cout<<m<<"="; 9 while(m!=1)10 {11 for (int i=2;i<=m;i++)12 {13 if (m%i==0)14 {15 m=m/i;16 if (m==1)17 cout<<i;18 ... 阅读全文
posted @ 2013-09-10 16:31 不懂编程的程序员 阅读(253) 评论(0) 推荐(0) 编辑