Reka Interview Question

Write a program for Prime num