Id Function Name Function Code
1 Fahrenheit to Celsius function toCelsius(f) {
return (5/9) * (f-32);
}
2 Celsius to Fahrenheit function toFahrenheit(c) {
return (c * (9/5)) + 32;
}
3 Fibonacci function fibonacci(n) {
return n < 1 ? 0
: n <= 2 ? 1
: fibonacci(n - 1) + fibonacci(n - 2);
}