Răspuns:
#include <iostream>
using namespace std;
int main()
{
int n,i,v[100],pos=0,neg=0,nul=0;
cin >> n;
for(i=1;i<=n;i++)
cin >> v[i];
for(i=1;i<=n;i++) {
if(v[i]>0)
pos++;
else if(v[i]<0)
neg++;
else nul++;
}
cout << "Pozitive: " << pos << endl;
cout << "Negative: " << neg <<endl;
cout << "Nule: " <<nul;
}
Succes!