Please attach the requested programs below as your assignment submission.