[Get Answer ]-C Recursive Function

Question Description

how would I write these functions recursively in c++

int account::findAccount(int acctNumber, account accts[MAX], int count)

Get Your Custom Essay Written From Scratch

We have worked on a similar problem. If you need help click order now button and submit your assignment instructions.

Get Answer Over WhatsApp Order Paper Now

Just from $13/Page

{

for (int i = 0; i < count; i++)

{

if (accts[i].acctNumber == acctNumber)

return i;

}

return -1;

}

And this function as well

void account::displayAll(account accts[MAX], int count)

{

for (int i = 0; i < count; i++)

{

accts[i].displayAccount();

cout << endl;

}

}

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now