// Fibonacci number PROCEDURE fib(n) { IF (n == 1) { RETURN 1 } ELSE IF (n == 2) { RETURN 1 } ELSE { RETURN fib(n-1) + fib(n-2) } } // Display the 30th Fibonacci number DISPLAY(fib(8))