#inculde
int min(intx, inty)
{
retunr(y
}
int main(){
int a[]={-5,9,8,-8,-2};
int z=a[0],n=5,i=0,c=a[0];
for(i=1;i
{
c=min(a[i],c+a[i]);
z=min(z,c);
}printf("%d",z);
}
Answers
Answered by
0
Answer:
I don't know the answer
Explanation:
but mark me as brainliest
Similar questions
Biology,
1 month ago
Hindi,
1 month ago
Chemistry,
2 months ago
Math,
2 months ago
India Languages,
9 months ago