i don't know the codes to count how many negative and positive.. can you help me with the codes to count negative and the positive numbers? here is my code i can't finish it yet 'cause i don't know the codes or the condition.. hehehe.. :D
Code:
#include <iostream.h>
main ()
{
int x;
int count[100];
cout << "Input 10 numbers: ";
for (x=0; x<10; x++)
cin >> count[x];
}
Comment