Hexaware Technologies Interview Question

Program of prime number