#include <stdio.h> int main() { int arr[10]; int i = 0; int count = 0; int sum = 0; for(i=0;i<10;i++) { scanf("%d",&arr[i]); if(arr[i] > 0 ) { ++count; } else if(arr[i]<0) { ++sum; } } printf("positive:%d\n",count); printf("negative:%d\n",sum); return 0; }