Computer Science, asked by karthivijayakumar98, 2 months ago

int fun(int n)
{
if(n!=0) {
return n - fun(n-5);
}
else {
return n;
}
}
int main(){
int n = 20, z;
z = fun(n);
printf("%d", z);
}​

Answers

Answered by poochandii
8

Answer:

output is: 10

Explanation:

this programming problem output is 10

Similar questions