#include<iostream>
using namespace std;
int main() {
int arr[5] = { 200,20,50,400,600 };
int max = 0;
for (int i = 0; i < 5;i++) {
if (max < arr[i]) {
max = arr[i];
}
}cout << max<< endl;
system("pause");
return 0;
}
P44-数组-数组案例(三只小猪)
最新推荐文章于 2024-08-05 17:30:48 发布