After further review, the call on the field stands, with the addition of:
I think your credit limit check is wrong. This:
should be:Code:if (balance > creditLimit) cout << "\nCredit Limit not exceeded!\n"; else cout << "\nCredit Limit exceeded!\n";
Code:if (balance < creditLimit) cout << "\nCredit Limit not exceeded!\n"; else cout << "\nCredit Limit exceeded!\n";