CitiusTech Interview Question

Java code for Factorial, Prime numbers