Robosoft Technologies Interview Question

Code to print Fibonacci and prime numbers without using any built-in operations.