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

PROGRAMMING:10 negative numbers

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






answer:If there is no answer, please comment