|
@ -53,7 +53,7 @@ void getReceiverAccountNumber() |
|
|
|
|
|
|
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
printf("KontoNummer Gueltig"); |
|
|
|
|
|
|
|
|
printf("Kontonummer ist Gueltig"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -84,6 +84,8 @@ void SendMoney() |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
getReceiverAccountNumber(); |
|
|
getReceiverAccountNumber(); |
|
|
|
|
|
|
|
|
|
|
|
initiateMoneyTransfer(amount); |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
@ -105,3 +107,10 @@ void SendMoney() |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void initiateMoneyTransfer(float amountToSend) |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
printf("Money transferred \n"); |
|
|
|
|
|
printf("You have succesfully sent %1.f\n ", amountToSend); |
|
|
|
|
|
} |