From e3b774be635b7969d51e515c48587c8e22463b36 Mon Sep 17 00:00:00 2001 From: fdai6618 <74294567+fdai6618@users.noreply.github.com> Date: Sat, 4 Feb 2023 11:31:24 +0100 Subject: [PATCH] add methode getAmount --- src/sendmoney.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sendmoney.c b/src/sendmoney.c index 75719e5..6e798c4 100644 --- a/src/sendmoney.c +++ b/src/sendmoney.c @@ -13,3 +13,9 @@ bool checkAccount(int accountNumber) // Refactoring return (accountNumber >= 1000000 && accountNumber <= 9999999); } +// hier wird amount zurückgegeben +float getAmount(float amountToSend) +{ + + return amountToSend; +}