-->
当前位置:首页 > 题库

PROGRAMMING:Write function, complete a group of students' C language score value operation

Luz5年前 (2021-05-10)题库367
Write two functions to calculate the average and minimum of a group of students' C language course scores. Requirements: 10 students' scores are integers, stored in array.
###Input format:
Assign 10 integers to a one-dimensional array from the keyboard.
###Output format:
Output the average value of the array elements
Output the minimum value of an array element
###Input example:
```in
90 67 58 77 60 95 61 75 80 100
```
###Output example:
```out
average=76
min=58
```







answer:If there is no answer, please comment