Untitled
raw download clone
TEXT
views 24
,
size 238 b
int suma(int v[],int n,int i,int j)
{
    if(n==j)
    {
        if(i==0)
            return 0;
            cout << v[i] << " ";
        return v[i]+(v,n,i-1,j);
    }
    cout << v[n] << " ";
    return v[n]+suma(v,n-1,i,j);
}
close fullscreen
Login or Register to edit or fork this paste. It's free.