摘要:
#include int main() {int i,a[5];int max = 0,min = 0;printf("输入5个整数(空格隔开) :\n ");for(i = 0; i a[max]) max = i;if(a[i] < a[min]) min = i;}printf("\n最大值... 阅读全文
摘要:
#include#includeint max(int x,int y) {if(x>y)return x;elsereturn y;}int min(int x,int y){if(x<y)return x;elsereturn y;}int main(){int x,y,a,b,c,d,e,f,... 阅读全文