Code for Assignment 2 of R Programming

This is my solution to Assignment 2 of R Programming