0
Why is the method retieveBalance() and getAccountNumber() not showing anything in main when I call them using the object?
Define the class bankAccount to store a bank customer’s account number and balance. Suppose that account number is of type int, and balance is of type double. Your class should, at least, provide the following operations: set the account number, retrieve the account number, retrieve the balance, deposit and withdraw money, and print account information. Add appropriate constructors. https://code.sololearn.com/ccm8S54i898f/?ref=app
2 Antworten
+ 3
I couldn't find any issue.. could you please elaborate your concern?
+ 1
Ketan Lalcheta I've figured it out. I was missing the cout before using the object and the method. Thanks for the concern