Browse Source

add methode getAmount

remotes/origin/feature/send-money
fdai6618 2 years ago
parent
commit
e3b774be63
  1. 6
      src/sendmoney.c

6
src/sendmoney.c

@ -13,3 +13,9 @@ bool checkAccount(int accountNumber)
// Refactoring // Refactoring
return (accountNumber >= 1000000 && accountNumber <= 9999999); return (accountNumber >= 1000000 && accountNumber <= 9999999);
} }
// hier wird amount zurückgegeben
float getAmount(float amountToSend)
{
return amountToSend;
}
Loading…
Cancel
Save