Home > Back-end >  How to use the c programming language design as follows
How to use the c programming language design as follows

Time:10-17

Y=1 + 1/(1 + 1/(1 + 1/5))

CodePudding user response:

Using a recursive
Double fun (int n) {
If (n==1)
1.0 + 1.0 f/5 return;
The else
Return 1.0 + 1.0 f/fun (n - 1);
}
  • Related