Untitled
raw download clone
TEXT
views 28
,
size 237 b
#include<iostream>
using namespace std;

void num(int n,int v[101])
{
    if(n==1)
    {
        v[0]=0;
    }
    else
        {

            if(v[n-1]<=v[0])
                v[n-1]=0;
            num(n-1,v);
        }
}
close fullscreen
Login or Register to edit or fork this paste. It's free.