Find the output of the following code fragment_______?
#include
using namespace std;
int fun(int p, int q)
{
if(p
return 0;
else if(p==q)
return p+fun(p-1,q);
else
return q+fun(p-2,q);
}
int main()
{
cout<
}
Enter numerical value using the virtual keypad. Round off where necessary.