摘要: #includeint largest(int list[],int length){ int i,max; max=list[0]; if(list[0]=='\0'||length==0) return 0; else for(i=1;imax) {max=list[i];} } return max;}void main(){ int n; int a[20]; char b='y'; while(b=='y'||b=='Y') { cout>n; cout>a[i]; ... 阅读全文
posted @ 2014-03-09 14:56 郭莉莉 阅读(187) 评论(0) 推荐(0)