HTC Global Services Interview Question

Write a program for prime no, Fibonacci series