I need help with this ATM transaction code I'm writing. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
- 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