IN C++, WILL UPVOTE NEED 1-4 ANSWERED ALL SEPERATLY
1. Modify the following code as needed to run in yourenvironment. As well as the values for M and N given in the code,test all combinations of values of M = 2, 3, 5, 10 and N = 103,104, 105, 106.
2. Explain the “node” class and the “main” function throughcomments in the code file and a written summary that includes yourdisplayed test results.
3. Create the following functions for processing nodes:remove(), insert(), next(), annd item(). Test them independently ofthe processing done in the code below. Be sure to document yourcode, summarize the way
PayPal Gateway not configured
PayPal Gateway not configured