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

PROGRAMMING:10 positive and negative numbers

Luz5年前 (2021-05-10)题库383
Input 10 integers from the keyboard to count the number of positive and negative numbers respectively.
Input format:
Enter 10 integers separated by spaces on one line.
Output format:
In a row in accordance with the "m = positive number, n = negative number" order output, the number is the original output integer, no other additional format..
Input example:
1 -2 3 -4 5 6 7 8 -9 -11
Output example:
m=6,n=4






answer:If there is no answer, please comment