THe program is supposed to give the recsive answer and the loop answer. The recusive anwer is always giving 0 - as its answer.and that is inccorrect It is supposed to show the steps and so is the loop answer. Can someone plase help me
#include<iostream>
using namespace std;
float wk7recur (float fnum, int inum);
float wk7loop (float fnum, int inum);
int main()
{
float recurive_answer,loop_answer, num;
int num1;
cout<<endl;
cout<<" This program calculates the recusive and interation " << endl;
cout<<" version of the problem and displays the answers "<<endl;