Computer Science, asked by wwwtcprasath1948, 2 months ago

#include
int min(int x, int y)
{
return (y < x)? y : x;
}
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[+]);
z=min(z,c);
}
print("%d", z);
}

Answers

Answered by trilokiprasadpatel
0

Answer:

I don't know I am sorry brother

Similar questions