<p>I need a little help with solving this practice problem</p><p>Using C/C++, write a <strong>recursive</strong> functionand afunction of <strong>iteration</strong> respectively.Both functioncalculate and return the following sequence. The sequence<em>S</em> satisfies the following