Hallo ,
Op dit moment ben ik tegen een opdracht aangelopen waar ik eigenlijk niet veel van snap.
Het is de bedoeling dat we een Bank Account gaan maken in C#.
De Opdracht is als volgt :
Write a program that simulates a bank account. A text box allows deposits to be made into the account and withdrawals to be made.
The state of the account is continually displayed and , if the account goes into the red a suitable message is displayed. Create a class named Account to represent bank accounts. It has methods Deposit and Withdraw , and a property Currentbalance.
Mijn probleem is dat ik al meteen aan het begin vastloop.
Dit om de rede dat ik dus die klasse heb aangemaakt , met de methode Deposits.
deze methode zou ik dus als ik het goed begrijp zo moeten maken dat het bedrag van Deposits bij het totaal bedrag wordt opgeteld. Maar de waardes staan in textboxen ?
Hoop dat iemand kan helpen.
Groetjes ,
Op dit moment ben ik tegen een opdracht aangelopen waar ik eigenlijk niet veel van snap.
Het is de bedoeling dat we een Bank Account gaan maken in C#.
De Opdracht is als volgt :
Write a program that simulates a bank account. A text box allows deposits to be made into the account and withdrawals to be made.
The state of the account is continually displayed and , if the account goes into the red a suitable message is displayed. Create a class named Account to represent bank accounts. It has methods Deposit and Withdraw , and a property Currentbalance.
Mijn probleem is dat ik al meteen aan het begin vastloop.
Dit om de rede dat ik dus die klasse heb aangemaakt , met de methode Deposits.
deze methode zou ik dus als ik het goed begrijp zo moeten maken dat het bedrag van Deposits bij het totaal bedrag wordt opgeteld. Maar de waardes staan in textboxen ?
Hoop dat iemand kan helpen.
Groetjes ,