+ 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.

17th Jun 2019, 5:54 AM
Mahomed Adji Rbd
Mahomed Adji Rbd - avatar
1 Resposta
+ 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
17th Jun 2019, 5:58 AM
Airree
Airree - avatar