Hey Yall trying to make a Bank account program. I want to see if im on the right track. Also I wanna see how can I add on to the Balance. Its not close to being finished ,but just check it out. Im also going to get into inheritance
It would be better to decide what makes up one account and work on that rather than intermingling all types of account. This means an account class which would just have a balance (property) with ability to deposit, withdraw and check the balance (methods).
So, what this means is you create a checking account object, savings account object etc and take it from there. This is much simpler than just creating one object (gg) and trying to manipulate that one and only one object.