HTC Global Services interview question

Write a program for prime no, Fibonacci series