IN C++
Write a function called sel_tab that prints out a table ofnumbers, their squares and their cubes. The function should alsocompute and return the main program the total of all the numberscomputed. The function should accept a starting value for thetable, the number of values to be displayed and the incrementbetween values.
Write a program that calls this function and prints out thattotal after the function executes and has printed out the table.For example here is a call to the function
int total;
total = sel_tab(2, 3, 2);
This should produce a table of three lines, the first linestarting with the number 2 and
PayPal Gateway not configured
PayPal Gateway not configured