编写函数int max(int a[], int n),功能是求数组的最大值,其中n 为数组a的大小。编写主函数,定义整型数组a[10],调用max函数,求其最大值并输出。

2025-06-28 23:16:25
推荐回答(0个)