rite code that performs the following tasks listed below. A hardcopy of the code and results, and an electronic copy of the code will be collected. Code will be executed by the instructor for testing; no errors or warnings should be present and requested output should be presented (prompt, graphical etc.). Remember to comment your …