def fibonacci(n):
if n :
return
else:
subsol1 = factorial()
subsol2 = factorial()
sol = subsol1 subsol2
return sol
print(factorial())
#include <stdio.h>
int fibonacci(int n) {
if (n ) {
return ;
} else {
int subsol1 = fibonacci();
int subsol2 = fibonacci();
int sol = subsol1 subsol2;
return sol;
}
}
int main() {
int n = ;
int result = func(n);
printf("Result: %d\n", result);
return 0;
}
function fibonacci(n) {
if (n ) {
return ;
} else {
var subsol1 = factorial();
var subsol2 = factorial();
var sol = subsol1 subsol2;
return sol;
}
var result = factorial();
console.log(result);