PROGRAMMING:10 negative numbers
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
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