C语言题目 急急急

日期:2011-05-02 20:37:51 人气:1

C语言题目 急急急

int findmax(int *s,int n){ int max=0; int i; for(i=0;i<n;i++){ if(*s>max) max = *s; s++; } return max; } 加入主函数测试了没问题的。。。。希望能帮到你。。。 #include int findmax(int *s,int n){ int max=0; int i;
    A+
热门评论