摘要: #includeusingnamespacestd;intmain( ){intmax(int a,intb,int c); //函数声明double max(double a,doubleb,double c); //函数声明longmax(long a,longb,long c);//函数... 阅读全文
posted @ 2014-10-26 16:59 whieenz 阅读(1906) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;int main(){cout>a>>b;cout<<"在"+ a + "~" + b + "之间的素数有:/n";fun(a,b);}void fun(int x, int y){int i , j , k ;for(i = x ; i... 阅读全文
posted @ 2014-10-18 17:34 whieenz 阅读(763) 评论(0) 推荐(0) 编辑