12259: 《C语言程序设计》江宝钏主编-习题5-1-统计整数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:0
Description
从键盘输入任意20个整数,统计其中的负数个数,并求所有整数的平均值。
Input
20个整数
Output
负数个数和整数平均值(保留1位小数)
Sample Input Copy
1 2 3 4 5 6 7 8 9 0 -1 -2 -3 -4 -5 -6 -7 -8 -9 0
Sample Output Copy
9 0.0