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

18th Nov 2019, 11:37 PM
MASANGA KAUKA MUDENDA
MASANGA KAUKA MUDENDA - avatar
2 ответов
+ 3
I couldn't find any issue.. could you please elaborate your concern?
25th Nov 2019, 5:31 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
Ketan Lalcheta I've figured it out. I was missing the cout before using the object and the method. Thanks for the concern
25th Nov 2019, 8:11 PM
MASANGA KAUKA MUDENDA
MASANGA KAUKA MUDENDA - avatar