int main(void)
{
int a[ 10],sum = 0;
int I;
for(I = 0; I< 10; ++i)
printf("Num %d:",I+ 1);
scanf("%d ",& ampa[I]);
if(a[I]& lt; 0)
sum+= a[I];
}
printf("sum = %d\n ",sum);
Returns 0;