#include int main(){ int A[10] = { 0, 1, 21, 3, 4, 5, 6, 7, 8, 9 }; int i, max=A[0]; for (i = 1; i < 10;i++) { if (max < A[i]) { max = A[i]; } } printf("最大值:%d\n", max); return 0;}