+ 1
Yay ,I mastered what i took
I made a code for partially everything i took https://code.sololearn.com/cUfwwtAu1k3O/?ref=app the code is about bank accounts but the problem is that I don't know how to store values to the balance variables or the code would be cooler example: if you added a certain amount of money the increase would be saved If this is possible in sl and you know how please tell me
1 Réponse
+ 1
well I'm not familiar with c++ but I think that you should do this.
in the deposit function, add balance+=a
or self.balance+=a
since I'm not familiar with c++ pointers I don't think you should count on me