寻找数组中最大值

  1 #include<stdio.h> 2 3 int main() 4 { 5 int i; 6 int n; //用于记录输入的数组元素的个数 7 int a[100]; //用于存储输入的数组 8 int max,subscript; //max:数组中的最大值;subscript:数组中的最大值的下标 9 10
相关文章
相关标签/搜索