Browse Source

Add functionality to be able to send money to other banks customers

remotes/origin/feature/loan-eligibility
fdlt3817 2 years ago
parent
commit
8f4d1b21fe
  1. 5
      src/sendmoney.c

5
src/sendmoney.c

@ -20,6 +20,11 @@ bool sendMoney(int customerID){
return true; return true;
} }
} }
}else{
if(withdrawSpecificAmount(customerID, amountToSend)){
printf("\nYou have successfuly transfered %.2f€ to [%d]",amountToSend,recID);
return true;
}
} }
} }
}else{ }else{

Loading…
Cancel
Save