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

PROGRAMMING:Array average and less than or equal to the average of the number of real numbers

Luz5年前 (2021-05-10)题库345
Find the average value of the given {23.5, 45.67, 12.1, 6.4, 58.9, 98.4} 6 real numbers, and count the number of real numbers less than or equal to the average value.
###Output format:
Output in the order of "Ave = average value, n = number" in one line, the average value retains 2 decimal places, and the number is output as is without column width control.
###Output example:
```out
ave=40.83,n=3
```






answer:If there is no answer, please comment