Programming Assignment 2 Solved

The "Programming Assignment 2" exercice solved.
In the botton of the code there are some outputs of the exercice