- #include<stdio.h>
- int main()
- {
- int a[3],i,t;
- printf("请输入三个整数:\n");
- for(t=0; t<3; t++)
- scanf("%d",&a[t]);
- for(i=0; i<2; i++)
- {
- if(a[i]<a[i+1])
- {
- a[i+1] = a[i];
- }
- }
- printf("输入的三个整数中最小的数为%d",a[i]);
- return 0;
- }
03-11
745
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
10-15
3430
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
01-12
9685
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-09