IDBI Bank Interview Question

code -Fibonacci, Reverse number,prime or not