+ 1
how to make a program in c++ that reads 10 values and shows how many of these values are negative?
I need help with the code.
1 Antwort
+ 1
You can create a loop that runs 10 times and asks for user input, and
stores it in an array, then test if it is less than 0, and if it is, add one to the count, then print the count on the screen