Amadeus Interview Question

Program for Prime Number