Mphasis Interview Question

Write two programs