Here are the two functions that I'm trying to get to work together. Anyone know how to call my overDraft function into my withdraw function if statement? Thanks.
bool withdraw(double amt, int pin){
if (amt <= bal)
return true;
if(amt >= bal)
return ????; //Need this to call my overdraft function from below??
}
bool overDraft(int pin){
if (pin ==123)
return true;
if(pin==456)
return false;
if(pin==789)
return true;
}