I need help with this ATM transaction code I'm writing. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

I need help with this ATM transaction code I'm writing.

I'm writing an ATM transaction code, i have an initial balance, how can i minus the amount withdraw from the initial balance and display it on the check account balance https://code.sololearn.com/cW5XzGxOOGl3/?ref=app

24th Oct 2019, 8:34 AM
Enit Baba
Enit Baba - avatar
1 Antwort
- 1
What about considering this amount as an instance variable (atribute in other programming languages) you'll be able to modify ?
25th Oct 2019, 5:52 AM
Nicolas Lacroix