KPMG Interview Question

prime number, fibonacci series c programming