The following MUST meet the criteria below:

1. Code must work using C++ in Visual Studio 2012 or 2015

2. keep basic and simple. (adding //comments would help alot)

3. Please read attached file CAREFULLY for instructions (make it similar to the example)