# include <stdio.h> int main() { int a[10]; int b=1; int c=0; printf("输入十个数\n"); for(b=1;b<=10;b++) { scanf("%d",&a[b]); if(c>=a[b]) c=a[b]; } printf("最小值为%d\n",c); return 0; }