Code:
cout << endl
<< "1. Add a distinct account number: \n \n"
<< "2. Remove an existing account number: \n \n"
<< "3. Deposit Funds into distinct account: \n \n"
<< "4. Withdraw Funds from distinct account: \n \n"
<< "5. View all Customer accounts and Balance: \n \n"
<< "6. Total Funds available from All accounts: \n \n"
<< "7. Exit program: \n \n";
There's no need to print a space between newlines. "\n \n" could become "\n\n".
Code:
if (result>-1)
account[result] = account[result+1];
balance[result] = balance [result+1];
total--;
}
I think you may be missing some curly braces here.
You seem to have a lot of arguments called int NUMBER that aren't used. If an argument isn't used, in C++ you can leave out its name:
Code:
int main(int, char **) {}