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

PROGRAMMING:Statistical elements

Luz5年前 (2021-05-10)题库390
Count the number of positive, negative and zero in 10 elements of one-dimensional array.
###Input format:
Each element of the input is separated by a space.
###Input example:
Here is a set of inputs. For example:
```in
3 5 0 -8 45 -32 9 8 0 20
```
###Output example:
```out
positive number = 6
negative number = 2
zero = 2
```







answer:If there is no answer, please comment