Hexaware Technologies Interview Question

Write a program to take two input variables and find whether they are prime or not