Computer Science, asked by harshithareddyb16, 2 months ago

#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 akibtamshil24
0

Answer:

I don't know the answer

Explanation:

but mark me as brainliest

Similar questions